LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mass email via bash script using imap (https://www.linuxquestions.org/questions/linux-software-2/mass-email-via-bash-script-using-imap-4175494819/)

propofol 02-13-2014 02:38 PM

Mass email via bash script using imap
 
I need to send a large number of emails for a survey. The origin should be from my work imap email. (This is not spam really!) I have seen a few suggestions on the internet such as mailx and mutt. It looks like mailx may be the better option.

I would appreciate it if someone could show me an example of how to send an email mailx with password authentication.

Regards,
Stefan

acid_kewpie 02-14-2014 09:22 AM

You can't send email via IMAP. that's for receiving from a server, not sending out. You send with an SMTP service.

propofol 02-14-2014 02:40 PM

Thanks for the clarification. I was under the impression that just using 'mail' was not sufficient due to the authentication issues. This account uses starttls for authentication.


All times are GMT -5. The time now is 11:42 AM.