According to the MIME::Lite documentation, that code won't actually send anything. If you read it more closely you will see that you still have to call the "send" method on your $msg object. Try that.
FWIW, I'd be a bit surprised if "yahoo.com" were actually an SMTP server, but you never know.
In reply to Re: How to send mail automatically using MIME::Lite
by hippo
in thread How to send mail automatically using MIME::Lite
by vkp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |