[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Q: Porting *NIX scripts w/sendmail?



I don't know if it meets your definition of "simple", but you can use
Net::SMTP to actually send mail, or use MailTool's
Mail::Internet::smtpsend() for a way to get some of the headers
constructed for you. Perl scripts tend to use sendmail both because their
authors assume it's always available (bad assumption, even on a Unix
machine), and because it "helpfully" fills in many headers the best it
can. Either way, you have to rewrite the part of the script that actually
sends the mail.

--- begin quoted text

Does anyone have a way (simple?) to port scripts from *nix which use 
sendmail to send a mail message?

Jim Hart
"The tragedy of the INTERNET is that,although taxpayers
bankrolled it, big corporations are taking it over.
It is corporate welfare of the highest magnitude"
                            Robert McChesney"

--- end quoted text

-------
Paul J. Schinder
schinder@pobox.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch