[ale] Perl 5 email question...

JANINDRA at MS.NDCORP.COM JANINDRA at MS.NDCORP.COM
Thu Jul 29 10:08:09 EDT 1999


This month's Perl Journal has an excellent article discussing sending mail
from Perl. It basically boils down to custom interaction with port 25 on the
host machine. I recommend reading the SMTP RFC (don't remeber the number)
and then playing around for a while. Have fun but don't send too many fake
emails ;)

Randy

-----Original Message-----
 From: Russell Enderby [mailto:Russell.Enderby at arris-i.com]
Sent: Thursday, July 29, 1999 9:54 AM
To: ale at ale.org
Subject: [ale] Perl 5 email question...


Sending email via perl using the simple:

open MAIL, "|mail username\@mydomain.com";
print MAIL $msg;
close MAIL;

I have seen no documentation on how to get it to send the message via a
different sender other than the httpd userid name.
Also I want to send a subject line as well, and I tried open MAIL,
"|mail username\@mydomain.com -s My subject"; with no success.

Any help would be appreciated.
Thanks,
Russell

--
Russell T. Enderby                                        Arris
Interactive
Software Engineer                                         3871 Lakefield
Dr, Suite 300
Cornerstone Software Development Group   Suwanee, GA 30024-1242
Email: Russell.Enderby at arris-i.com






More information about the Ale mailing list