I strongly disagree with this - This approach is by far not portable as it depends on a number of factors:
Furthermore, as for the ease of using this approach without installing modules, the Net::SMTP module is included as part of the core Perl installation and as such should be available on all installations. Additionally the use of this module is very straight-forward, for example,
my $smtp = Net::SMTP->new('mail.mydomain.com'); $smtp->mail($fromaddr); $smtp->to($to); $smtp->data(); $smtp->data("Subject: $subject\n\n"); $smtp->data($message); $smtp->dataend(); $smtp->quit;
Furthermore, the use of the local network SMTP server will make your network administrator happier as it is at this point that network mail policies and statistics reporting is often based.
In reply to Re: Re: Email Modules
by rob_au
in thread Email Modules
by cjf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |