LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Send a mail to groups of mails stored in a file (http://www.linuxquestions.org/questions/programming-9/send-a-mail-to-groups-of-mails-stored-in-a-file-774374/)

anniechellag 12-08-2009 10:32 PM

Send a mail to groups of mails stored in a file
 
I need to use a single command to read the list of mail ids in a file and send a mail to those users from the command prompt

ghostdog74 12-08-2009 10:49 PM

what have you tried

tangoking 12-08-2009 11:05 PM

http://www.phplist.com/

anniechellag 12-09-2009 09:10 PM

Quote:

Originally Posted by anniechellag (Post 3784898)
I need to use a single command to read the list of mail ids in a file and send a mail to those users from the command prompt

I am using Ubuntu intrepid. I tried configuring my mail server to send mails from the command prompt.

I tried these below links...

http://www.debianadmin.com/how-to-se...nd-others.html

http://www.quietearth.us/articles/20...mand-line-mail

http://www.cyberciti.biz/tips/sendin...ttachment.html

Nothing worked. I'm trying to help my friend whose requirement I've posted here. Also, I have an idea like this. Store a set of mail ids in a texteditor and read from the file pass it as an input to mail command.

ghostdog74 12-09-2009 10:20 PM

show input sample files, and describe your output


All times are GMT -5. The time now is 10:16 PM.