in reply to Re: Using Net::SMTP to send email attachments
in thread Using Net::SMTP to send email attachments

$smtp->datasend("\n"); $smtp->datasend("--$boundary\n"); $smtp->dataend(); $smtp->quit;

This is still wrong, and might work only accidentally. The last boundary must be followed by --. See Re^5: Using Net::SMTP to send email attachments.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)