in reply to MIME::LITE Email Confirmation

The MIME::Lite docs state that the ->send method "Returns whatever the mail-handling routine returns: this should be true on success, false/exception on error".

Replies are listed 'Best First'.
Re^2: MIME::LITE Email Confirmation
by njweatherman (Sexton) on Aug 22, 2007 at 15:08 UTC
    If is use the following: $msg->send(); if ($msg eq "true") { print "Sent"; } I still do not see any confirmation. Thanks, Tommy

      You can't use the string 'true' like that. Here $msg is your MIME::Lite object, not a string. You need to do:

      if( $msg->send() ) { print "Sent"; }

      Frank Wiles <frank@revsys.com>
      www.revsys.com