in reply to Net::SMTP::TLS is splitting my messages!

You message is significantly changed, in order to do this Net::SMTP::TLS should be able to handle MIME, but I just have a quick look onto its sources and it uses only MIME::Base64. Maybe you should blame your SMTP server? Try to send message through some other SMTP server (preferably something simple, not Exchange), or just emulate it with socat or similar program and see if you receiving tampered message.

Upd: added link to socat

  • Comment on Re: Net::SMTP::TLS is splitting my messages!

Replies are listed 'Best First'.
Re^2: Net::SMTP::TLS is splitting my messages!
by Miquito (Initiate) on May 20, 2009 at 21:25 UTC

    Thanks zwon for reply, i'd tried same code send an email with attachments to gmail with same results, so it seems is some issue with CPAN module.

    Just for the record: i'm using http://www.cleancode.org/projects/email/about to send email. so far seems it works.

    Thanks. Martin