LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2009, 02:09 PM   #1
muserob
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
Unhappy creating a mailing list


Hi, I work with mailing a lot of emails to a lot of clients, the current emailing list I have been using has been banned by the company, because it does not leave annonimity to clients, is there a way i can create a mailing list where i can send the bulk of emails to only one of the client each, with out repeating the whole procedure over and over again.

please advise...
 
Old 02-07-2009, 03:16 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
If you mean to send e-mail from the command line, just put e-mail addresses in a text file, one for each line. Then use a for loop, e.g
Code:
while read email
do
  (
  echo "From: Me <user@domain>"
  echo "To: John Smith <$email>"
  echo "Subject: Test mail"
  echo "MIME-Version: 1.0"
  echo "Content-Type: text/html"
  echo "Content-Disposition: inline"
  echo Greetings\!
  ) | /usr/sbin/sendmail $email
done < mailing_list
 
  


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
Join my mailing list!!! citra.cool2 Linux - Newbie 1 05-01-2008 10:19 AM
Mailing List gurl4sh25 Linux - Software 4 08-20-2007 01:19 AM
mailing list utility 62chevy Linux - Software 2 12-04-2006 08:57 PM
Mailing list subaruwrx Linux - Software 0 12-21-2004 10:38 AM
know a c++ mailing list nakkaya Programming 1 07-02-2003 10:45 AM


All times are GMT -5. The time now is 05:23 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