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


in reply to Re^2: How to send mail from Perl/Tk Program?
in thread How to send mail from Perl/Tk Program?

You'll need to change that, then :-) Further down in the doc, there's this section:
Change how messages are sent ### Do something like this in your 'main': if ($I_DONT_HAVE_SENDMAIL) { MIME::Lite->send('smtp', "smtp.myisp.net", Timeout=>60); } ### Now this will do the right thing: $msg->send; ### will now use Net::SMTP as shown above
Hope that points you in the right direction :-)

Update: Wow. Two other answers as I was typing up this one :-D