If I want to use Applescript to save a Mail message, I can do it easily using the ‘content’ property of the ‘message’ container. This won’t work, however, if the message has a content type of “multipart/mixed.” It is my understanding that in those instances the real content is contained in a series of “inline attachments” that need to be examined for their content. If one (or more) of these attachments have a content type of “text/plain,” then they make up the actual content of the message.
Has anyone come up with a routine to handle saving either type of message to disk–either single part or multipart?
-Allen