<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>are you looking for something like:</FONT></DIV>
<DIV><FONT face=Arial size=2>mail -s "subject line" to < ${MSG}</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>cat file | mail -s "subject line" to</FONT></DIV>
<DIV><FONT face=Arial size=2>replace: </FONT><FONT face=Arial size=2>subject
line, to, </FONT><FONT face=Arial size=2>${MSG}, </FONT><FONT face=Arial
size=2>file with your values</FONT></DIV>
<DIV><FONT face=Arial size=2>rape everything in a script</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Shahar</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=matial@il.ibm.com href="mailto:matial@il.ibm.com">Matitiahu
Allouche</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=linux-il@cs.huji.ac.il
href="mailto:linux-il@cs.huji.ac.il">linux-il@cs.huji.ac.il</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, July 21, 2009 11:25
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> choice of e-mail agent for batch
processing</DIV>
<DIV><BR></DIV><BR><FONT face=sans-serif size=2>The following is a quite naive
question, and not strictly Linux-oriented, so delete this mail if you find it
offending.</FONT> <BR><BR><FONT face=sans-serif size=2>My problem is the
following: </FONT><BR><BR><FONT face=sans-serif size=2>I need to periodically
(once a month) send an e-mail message to a number of recipients (about a
hundred).</FONT> <BR><FONT face=sans-serif size=2>Each message is different
and will be created as a separate file by an application which is not of
concern. The message may be plain text, but HTML is preferred.</FONT>
<BR><FONT face=sans-serif size=2>Each message will also have one file
attachment (the same for all recipients).</FONT> <BR><FONT face=sans-serif
size=2>I don't have access to a mail server except as a regular client.</FONT>
<BR><FONT face=sans-serif size=2>I am ready to write whatever programs are
needed to put the data in proper format, including the HTML sugar on the plain
text.</FONT> <BR><FONT face=sans-serif size=2>I am ready to write scripts as
needed.</FONT> <BR><BR><FONT face=sans-serif size=2>I am looking for a mail
agent, probably working from the command line, which can send all my messages
as a batch, or that I can invoke repeatedly within a script to send each
message in turn.</FONT> <BR><FONT face=sans-serif size=2>This mail agent
should be available under Linux and Windows (I know, I know...), should be
free (as in free beer) or cost just a few dollars, preferably open
source.</FONT> <BR><BR><FONT face=sans-serif size=2>Some googling has provided
the following mail-agent names which seem to answer my requirements:</FONT>
<BR><FONT face=sans-serif size=2>Alpine, Gnus, Mutt, Pine, VM (View
Mail)</FONT> <BR><BR><FONT face=sans-serif size=2>I will appreciate any
advice, either positive or negative, concerning those programs, or others
which answer my requirements.</FONT> <BR><FONT face=sans-serif
size=2><BR><BR>Shalom (Regards), Mati<BR>
Bidi Architect<BR> Globalization
Center Of Competency - Bidirectional Scripts<BR>
IBM Israel<BR> Phone: +972 2 5888802
Fax: +972 2 5870333 Mobile: +972 52
2554160<BR></FONT>
<P>
<HR>
<P></P>_______________________________________________<BR>Linux-il mailing
list<BR>Linux-il@cs.huji.ac.il<BR>http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il<BR></BLOCKQUOTE></BODY></HTML>