Scripting Email

talexb-SBdzbUvMQDunS0EtXVNi6w at public.gmane.org talexb-SBdzbUvMQDunS0EtXVNi6w at public.gmane.org
Thu Mar 4 15:46:12 UTC 2004


Hi,

Perl's Mail::Sendmail has always worked well for me. About all you have to
set is your SMTP server name.

Alex

On Thu, 4 Mar 2004, William O'Higgins wrote:

> I would like to be able to send email programmatically (via script and at
> or cron).  When one looks at "command line email" in Google you'll see a
> lot of stuff about `mail`.  My MTA is just forwarding stuff to a smarthost
> (leave off for the moment that the "smart" host is actually a flaming
> ninnyhammer) and so `mail` doesn't help me.
>
> I've tried using Perl and Net::SMTP, but it provides insufficient
> control over headers, and gets flagged as spam.
>
> Is there a program that might help me, or should I try to script a
> telnet session, or do this in Perl with Net::Socket.  Any suggestions
> welcome.  Thanks.
> --
>
> yours,
>
> William
>
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>
>
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list