in reply to Mail on NT
The above is an untested snippet based on the docs. I suggest you give that a try.eval{ my $mailer = new Mail::Mailer 'smtp', Server => $SERVER; # Send our options $mailer->open({ From => $SENDERALIAS . '<' . $SENDEREMAIL . '>', To => $TO . '<' . $EMAIL . '>', Subject => $SUBJECT }); print $mailer $message; }; if($@) { # Oops! print "$@\n"; }
|
|---|