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

java - Cannot send AES encrypted messages of over 47 characters -

php - How to set default value of a select dynamically from database using smarty? -

telerik - Reformat image format in PDF -