in reply to Net::SMTP Problem
See eval and use something like if( !eval{blarg()} ) { warn "hrm: $@" }. Also, consider something like Email::Valid to avoid the send step on bad addresses.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Net::SMTP Problem
by joshe (Initiate) on Jun 04, 2010 at 19:22 UTC | |
by tokpela (Chaplain) on Jun 04, 2010 at 22:07 UTC | |
by joshe (Initiate) on Jun 04, 2010 at 22:49 UTC |
In Section
Seekers of Perl Wisdom