Save HTML from Mail Message
October 22nd, 2005Usually when I get an email message with HTML content, I reach for the delete key faster than you can say “spam!” But there are some messages I receive which contain important HTML content. For instance, the invoicing system one of my large corporate clients uses (why, I don’t know), is completely unusable in most regards. The only way I have found to get a personal copy for my records of invoices I issue through it is to have it email me a copy. When the copy arrives, of course it is in a table-heavy HTML format, which is unreadable even if I attempt to save it as plain text. It looks terrible as HTML too, but at least it’s readable!
So, I get this HTML email regularly, and I need to save it to my “Unpaid Invoices” folder. Unfortunately, Apple Mail has no obviously easy way to do this. I have before today resorted to various steps including showing the raw source and manually copy/pasting the HTML portion out and into another file. Today I decided the B.S. stops and I get an easy solution.
I didn’t even bother looking around for an existing script. I knew what I wanted so I wrote it. The result is a script that should do a reasonably good job of grabbing the HTML out of a selected message and saving it to disk for you. I don’t think of this as something that most people want to do often, but if you find you do need it, now you don’t have to write it yourself:
Click here to download: Save HTML Content
October 30th, 2005 at 1:00 am
[…] Daniel uses it with HTML-formatted invoices but it is useful in other situations as well. You can read more about it and download the script from Daniel’s Red Sweater Blog. […]