in reply to Re: Mail::Box::Mbox adds a strange boundary when read email
in thread Mail::Box::Mbox adds a strange boundary when read email

Yes, you are right, I can use a lot of methods to handle different parts of email message, but in this case I want to get the source of the email.
My final target is to have all the email separated in an Array and to save them in different files
If this strange boundary is a part of my target file when I try to open the file from Outlook Express the Email application is adding a non existing Email Attachment.
In example above the Outlook Express will open an Email with attachment: ATT00002.txt which is wrong the part is just a html body not the attachment.
I hope you can undestand me.
  • Comment on Re^2: Mail::Box::Mbox adds a strange boundary when read email

Replies are listed 'Best First'.
Re^3: Mail::Box::Mbox adds a strange boundary when read email
by jbert (Priest) on Dec 19, 2006 at 15:19 UTC
    I think Outlook is correct. The top-level content type (in the headers) is multipart.

    If you want a plain HTML mail (and you should really send multipart/mixed(text/plain + text/html)) then you should create it that way to start with. The headers suggest that you're creating the mail programatically. If you don't like the way it has been created then my advice would be to take a look at that and do it differently...