Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Sending email with both html and plaintext

by soonix (Canon)
on Feb 19, 2016 at 06:16 UTC ( [id://1155610]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1155610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found