http://qs321.pair.com?node_id=843189


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.