Link to home
Start Free TrialLog in
Avatar of Goutham
GouthamFlag for India

asked on

linux mail server

Dear experts:

Our linux server fetches the mails from the outsourced web hosting mail server,  we have huge contact list of email accounts the team wants to send a bulk mail (one mail to many users) but the receiving person should receive should know the mail has only come to him instead of bulk, to be clear the team sends one mail to many contacts with one go but the mail should reach to the individuals and they should not feel it is a bulk email , request you to please help me in getting this, i think script to be done , please please help.
Avatar of arnold
arnold
Flag of United States of America image

The list of recipient addresses need to be in he Bcc: field.
You can configure an alias on the server that is a distribution list.
arnold is right, if you want to send just one e-mail, provided the remote server allows such a big recipients list (how big is it??)
But Bcc will show something like "undisclosed-recipients", suggesting it's a bulk mailing and everyone is "blind"
A distribution list might help, but the recipient will be the list, not the real recipient's email address ; depending on the tool you use. Those tools might end up sending one e-mail per recipient.

That's why I'd suggest the following :

*if* you can send one-mail per recipient, that will be correct from the recipient's point of view, but the sending server might not allow you to send tons of e-mail in a short period of time.
Anyway, you could write a simple script with mutt for example :

for recip in `cat your_email_recipient_list.txt `
do
  mutt -s "subject" -a attachedfile $recip < emailcontent
  sleep 3
done

One e-mail each 3 seconds.

I hope it might help you
Avatar of Goutham

ASKER

Sir, Thank you very much for the reply, request you to let me know the steps to perform this ,
first will create a text file naming recipient _list.txt and add all the 500 email address with the semi colon separated in this text file then execute the below command
for recip in 'cat recipient_list.txt'
do
mutt -s "quotation" -a attachedfile $recip < email content # this i did not understand request you to explain the below :
-a attachedfile $ recip
< email content # here should we type the content like dear sir and body of the letter . please help me in this.
ASKER CERTIFIED SOLUTION
Avatar of mchkorg
mchkorg
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial