LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2014, 03:38 PM   #1
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 334

Rep: Reputation: 60
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
 
Old 02-14-2014, 10:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
You can't send email via IMAP. that's for receiving from a server, not sending out. You send with an SMTP service.
 
Old 02-14-2014, 03:40 PM   #3
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 334

Original Poster
Rep: Reputation: 60
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BASH email script Help cia_gov Linux - Newbie 18 12-11-2011 01:00 AM
[SOLVED] piping email to a bash script for processing mark1967 Programming 11 09-07-2011 03:02 PM
Write a script to send an email from bash kpelczar Linux - Software 5 02-09-2005 05:19 PM
bash script to email updated ip ericnmu Linux - Networking 1 10-01-2004 11:30 PM
bash script, parsing email addresses kepler Programming 6 01-26-2004 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration