in reply to MIME::Lite aborting when it receives an error

Code please ... are you using eval correctly?

eval { $msg->send; }; if( $@ ) { # log error message }

-derby

Replies are listed 'Best First'.
Re^2: MIME::Lite aborting when it receives an error
by PugSA (Beadle) on Jun 30, 2006 at 15:59 UTC

    Hi derby

    I've already posted the code in node 558281 that is why I referred to it

    Apologies if that is the wrong way, I used the eval{} like code below

    eval{$msg->send};

    The only difference is the semi colon after the send

    I just tested it and it worked I also did not know about $@ thank you for your time