in reply to Re^5: Using Net::SMTP to send email attachments
in thread Using Net::SMTP to send email attachments
Try changing this
to this$smtp->datasend("Content-type: multipart/mixed;\n\tboundary=\"$boundar +y\"\n"); $smtp->datasend("\n"); $smtp->datasend("--$boundary\n"); $smtp->datasend("Content-type: text/plain; charset=\"UTF-8\"\n"); $smtp->datasend("Content-Disposition: quoted-printable\n"); $smtp->datasend("\n");
That matches what i see in my pop3 mailboxes better$smtp->datasend("Content-type: multipart/mixed;\n\tboundary=\"$boundar +y\"\n"); $smtp->datasend("Content-type: text/plain; charset=\"UTF-8\"\n"); $smtp->datasend("Content-Disposition: quoted-printable\n"); $smtp->datasend("\n");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Using Net::SMTP to send email attachments
by astrobal (Acolyte) on May 01, 2017 at 12:55 UTC |