Hi all, I use module Mime::Lite to email.
All works fine but I am not happy with the error handling. The documentation (http://search.cpan.org/author/YVES/MIME-Lite-3.01/lib/MIME/Lite.pm#send) states: -- part of doc As an instance method with no arguments, sends the message by the default mechanism set up by the class method. Returns whatever the mail-handling routine returns: this should be true on success, false/exception on error: $msg = MIME::Lite->new(From=>...); $msg->send || die "you DON'T have mail!"; -- end part of doc I experimented a bit and first of all, it seems that msg->send always sends a empty string even if it is successful. If I enter an incorrect email address (for instance no @) it will still return nothing. But it looks like sendmail (the underlying mail engine) *is* printing something to STDOUT (ort maybe STDERR) if something goes wrong. In short: how do I get this fool proof. I do understand of course, that bounced mail does not count. I just want to 'know' that sendmail has picked up the message. Thanks, Jeroen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]