hey..
i am seeking for a linux script(Shell script)
that reads from text file "email addresses" and send a "message"
by smtp server which i set !
for example..
lets say that i have in my shell 2 files!
one file includes the email addresses that i wanna send to
for example.. the file which is named
emails contains :-
k
oko @hotmail.com
veko@hotmail.com
xxxxxxx@.....com
...
and the second file which has the
message for example:.
the file
message contains the letter
"welcome all to my world"
now i want to send the letter/message "welcome all to my world" to the email addresses that i mentioned above "koko@hotmail.com
veko@hotmail.com ,,etc"
*note: i could use the pine / mail command ,, but as you know all.. pine and mail sends to junk/or as a spam for hotmail.. so i wanna be sure that my message was delivered to users in their inbox and not in junk
for that reason i wanna specific/special script mailer that sends via my "gmail" account that i set(configure)
for example:-
port:23
smtp-server:smtp.gmail.com
user:eawedat
password:*****
and to send via my email..
the script should look like this to run in linux..
./mail emails message
I hope that u understand me.
thanks.