in reply to Email Modules
For more robust applications sending out MIME (a web mailer, for example) I use the MIME::Tools library and build it myself. This is a little more work, but I like the level of control it gives me in constructing the headers and message.
Having said all that, if you are just sending plain text messages, why not just:
It's basic, it's fast, it's portable, and you don't have to worry about installing a whole module to send a message.open (MAIL,"| /usr/sbin/sendmail -t"); print MAIL "To: $to\n"; print MAIL "From: $fromaddr\n"; print MAIL "Subject: $subject\n\n"; print MAIL "$message"; print MAIL "\n.\n"; close(MAIL);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Email Modules
by rob_au (Abbot) on Jun 01, 2002 at 08:32 UTC | |
by kappa (Chaplain) on Jun 02, 2002 at 12:52 UTC | |
by oakbox (Chaplain) on Jun 03, 2002 at 06:51 UTC | |
|
Re: Re: Email Modules
by Marza (Vicar) on May 31, 2002 at 23:17 UTC | |
|
Re: Re: Email Modules
by kappa (Chaplain) on Jun 02, 2002 at 13:08 UTC |