in reply to e-mail attachments on Win32 w/ Net::SMTP_auth & Net::SMTP::Multipart

You might consider using MIME::Lite. To configure it to use SMTP add the line:

MIME::Lite->send ("smtp", "your.smtpserver.domain");

to be executed once before the send ().


DWIM is Perl's answer to Gödel
  • Comment on Re: e-mail attachments on Win32 w/ Net::SMTP_auth & Net::SMTP::Multipart
  • Download Code

Replies are listed 'Best First'.
Re^2: e-mail attachments on Win32 w/ Net::SMTP_auth & Net::SMTP::Multipart
by ff (Hermit) on Apr 11, 2007 at 21:12 UTC
    I've given it a shot but get held up on authentication. (But perhaps I'm feeding userid and password to the smtp setup incorrectly.) Another post suggested that was symptomatic of needing Authen::SASL, but that appears to be installed on my machine. So I was thrilled when tweaking to use Net::SMTP_auth "worked", and disappointed when I checked against Yahoo and my other mail account.