Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Send mail error

by bellaire (Hermit)
on Nov 22, 2009 at 21:58 UTC ( [id://808683]=note: print w/replies, xml ) Need Help??


in reply to Re: Send mail error
in thread Send mail error

Indeed, the internals to MIME::Lite will die if the RECIPIENT command fails when sending via SMTP, such as if the e-mail address is invalid (see the latest source in the send_by_smtp method). The easiest way around this is to wrap the send call inside an eval.

Barring that, you'll have to use something else other than MIME::Lite's send, such as utilizing another module.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://808683]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found