osx - Mac to extract HTML from Mail messages -


i trying extract html emails using applescript. came across stackexchange post -- mac automator/applescript(?) extract url's mail messages -- tries extract urls email content. extraction code is:

on run {input, parameters}     set mailcontentlist {}     tell application "mail"         repeat selectedmail in input             set end of mailcontentlist content of selectedmail         end repeat     end tell     return mailcontentlist end run 

this extracts visible content, not entire html content. tried adding with properties {visible:false} after content , after input no luck either.

you raw source source property

set end of mailcontentlist source of selectedmail 

but have extract html portion "manually".


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo