http://www.perlmonks.org?node_id=1039391


in reply to Re: log parser
in thread log parser

check Net::SMTP::OneLiner Module
and define your not changing variables like email, sender, host, etc. outside the while loop so you do not define them over and over.