in reply to Re^2: Sending email with both html and plaintext
in thread Sending email with both html and plaintext

Add an (additional) empty text before your first attachment?
  • Comment on Re^3: Sending email with both html and plaintext

Replies are listed 'Best First'.
Re^4: Sending email with both html and plaintext
by mavericknik (Sexton) on Feb 19, 2016 at 18:14 UTC
    But that just makes my email have 2 attachments, I want both in the body not as attachments.
      You can only have 1 body, and a body consisting of both plain text and HTML is simply not possible. The first plain text attachment apparently ends up as body, so you could make that an explaining text.

      If you want it all in the body, you could incorporate the plain text part as a <pre>-formatted part into the HTML and use that as body. I prefer plain text mails, therefore haven't done that yet, but it should work that way, too.