Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send a Email Message to multipy recipients ! 1

Status
Not open for further replies.

MrStiffler

Programmer
Jan 7, 2004
25
CH
To send mails to developers, there is a txt file with all email adresses of the recipients.
For every email adress in the txt file a Put runs a Map and overrides the input cards. this maps generates then a mail via PUT for the actual email adress. This process loops till no email addresses are left.

Question:
Is it possible to set the output card to Email adapter and send the output to multiple email adresses at once ?

If Not maybe there i a possibiliy to send muliple emails reliable with a PUT function ? i would use the parameter:
-TO 1someone@somewhere.com, 2someone@somewhere.com,....

Do somebody had problems too, sending a Email to muliple adresses ? Do you have a save sulution for that problem ?
thx
 
Try:

-TO recepient1 -TO recepient2

in your put command or do multiple put commands.
 
There is a command line length limit, you can use PUT(EMAIL) or call a RUN map and override the output for each "-to" you need, or set up a distribution list on your e-mail server and send one e-mail to the list. This is the more efficient way.

BocaBurger
<===========================||////////|0
The pen is mightier than the sword, but the sword hurts more!
 
We've set this up several ways. Using the Registry, Email Groups and file based. Due to the command line limit, mail groups are best for large distributions.

John
 
Hi,
If you are running your maps on the UNIX server probably what you can do is use the EXIT function where in you can call a Unix script which will take care of sending the mails and pass the txt file with the email address to this script and use mailx command.

e.g.
EXIT(&quot;/var/opt/email_script.sh&quot; +
&quot; emailusers.txt&quot;, &quot; &quot; , &quot; &quot; )

cheers,
Shrini.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top