Word Press Mailto
-
Hi! I am trying to format an email that my user can send from the site to their friends and family. I am using a Button with a link: mailto: ?subject= Subject%20Text%20 &body= body content. The actual body content needs to have multiple paragraphs and have an image inserted and words that are linked to websites. How can I accomplish this?
The blog I need help with is: (visible only to logged in users)
-
Hi there,
The actual body content needs to have multiple paragraphs and have an image inserted and words that are linked to websites.
This is impossible – doing it would require adding HTML inside another HTML tag, and that cannot be done. Additionally you’d need to percent-encode every space and line break in the body section as well.
The “mailto” protocol is not designed to create an entire email in this way.
What exactly is the end goal you want to achieve? If you want readers to be able to share posts on your site via email, we already provide an email sharing button to do this at My Site ->Sharing ->Sharing Buttons.
- The topic ‘Word Press Mailto’ is closed to new replies.