Miquito has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
Send mails without attachments works fine with Net::SMTP::TLS. However sent mails with attachment is not working for me. Please take a look of the sent mail at: http://www.pastebin.ca/1427683 and the received message at: http://www.pastebin.ca/1427684.
The code snipet i'm trying is:
Please give me any help. Thanks in advance.print $msg; my $smtp = Net::SMTP::TLS-> new("X.X.X.X", Debug => 1, User => 'uuuuuu +', Password=> 'ppppp') or die "Net::SMTP::new: $!"; $smtp-> mail($from); $smtp-> recipient($to); $smtp-> data(); $smtp-> datasend($msg); $smtp-> dataend();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SMTP::TLS is splitting my messages!
by zwon (Abbot) on May 19, 2009 at 20:36 UTC | |
by Miquito (Initiate) on May 20, 2009 at 21:25 UTC |