Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Mail::Sender code doesnt work with CGI on webserver

by mendeepak (Scribe)
on Apr 18, 2012 at 06:42 UTC ( [id://965648] : note . print w/replies, xml ) Need Help??


in reply to Mail::Sender code doesnt work with CGI on webserver

Mail::Sender has another option called MailFile and its syntax goes something like this

MailFile([from [, replyto [, to [, smtp [, subject [, headers]]]]]], m +essage, file(s)) MailFile({[from => "somebody@somewhere.com"] [, to => "else@nowhere.com"] [...], msg => "Message", file => "File"})
try the code out, don't know whether it will fix your problem.. Check this link for more details Mail::sender