Today mostly SMTP server require SSL authntication so u will have to use
Net::SMTP_auth instead of
Net::SMTP
.It works fine i tested it if any body has problem about it then tell me ,i will post smtp server name(obivsly free h yaar) nd script that works fine,
till then happy progqaming