It would be helpful to see what you did try
You may have one too many $smtp->datasend("--$boundary\n"); in there. you dont want a boundary before the main text. The example seems to have one.
In reply to Re^4: Using Net::SMTP to send email attachments
by huck
in thread Using Net::SMTP to send email attachments
by astrobal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |