in reply to emailing with attachments
Since you're a non-unix user you should want something more like:MIME::Lite->send() When used as a classmethod, this can be used to specify a diff +erent default mechanism for sending message. The initial default is: MIME::Lite->send("sendmail", "/usr/lib/sendmail -t -oi -oe +m"); However, you should consider the similar but smarter and taint +-safe variant: MIME::Lite->send("sendmail"); Or, for non-Unix users: MIME::Lite->send("smtp");
if ($I_DONT_HAVE_SENDMAIL) { MIME::Lite->send('smtp', "smtp.myisp.net", Timeout=>60); }
|
|---|