Reputation:
Is there a way to insert pure html into an email via Apple’s desktop Mail app (ie. creating a newsletter, tables, etc.)?
I know you’re able to do this on Mac OS via Thunderbird, just wondering if there’s a reliable method or extension for Apple Mail specifically.
Upvotes: 3
Views: 20968
Reputation: 2321
To expand on what TheycallmeXiaoli said :
Create a new mail in apple "Mail.app", write Bonjour
then hit cmd + s.
Find your draft at the left panel of "Mail.app". Drag it onto your desktop.
Edit the draft file with any text editor you like (ex: TextEdit)
Search for the word Bonjour
you wrote earlier - Replace ONLY this Bonjour
with your ENTIRE html code
then save the file.
do not delete anything else ! don't replace the current HTML tag just the word Bonjour
Select "Apple Mail" & import the edited file.
most likely inside an "imported" folder
Finally open the mail, fill in To, CC, Subject, etc, and send your pure HTML mail.
: )
Thanks so much TheycallmeXiaoli !
Upvotes: 0
Reputation: 311
Having been seeking for solution for so long. Both cmd + a then cmd + c or cmd + i in Safari may drop some style/script. Occasionally I found a nealy perfect solution by myself.
Upvotes: 21
Reputation: 21
I was also looking for a solution and found this thread. Here is how I paste code into Apple Mail:
Copy your code into the code beautifier at http://hilite.me/. Then save the generated HTML to a file and open that in Safari and Press command
+ i
as Creaforge said (thanks for the tip).
Upvotes: 2
Reputation: 7405
There is a "simple" way : open your html content in Safari, then press command + i
The html content of the page will be inserted in the body of a new mail message.
Upvotes: 10