LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 02: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, 09:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 02: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



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 12:00 AM
[SOLVED] piping email to a bash script for processing mark1967 Programming 11 09-07-2011 02:02 PM
Write a script to send an email from bash kpelczar Linux - Software 5 02-09-2005 04:19 PM
bash script to email updated ip ericnmu Linux - Networking 1 10-01-2004 10:30 PM
bash script, parsing email addresses kepler Programming 6 01-26-2004 06:47 AM

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

All times are GMT -5. The time now is 08:30 PM.

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
Open Source Consulting | Domain Registration