Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Send email without using SMTP server

by fmerges (Chaplain)
on Nov 13, 2008 at 12:18 UTC ( [id://723426] : note . print w/replies, xml ) Need Help??


in reply to Send email without using SMTP server

Hi,

Your problems look more like you don't have installed any MTA on your system, do you?

Read the docs of the module, you can provide the option of the SMTP server you gonna use like:

my %mail = ( To => 'tom@xyz.com', From => 'jerry@xyz.com', Message => "This is a very short message", smtp => 'smtp.xyz.com', );

Another module I could recommend is Mail::Mailer.

Regards,

fmerges at irc.freenode.net