Re: Scripting Mail: Body content as plain text with quotes
Re: Scripting Mail: Body content as plain text with quotes
- Subject: Re: Scripting Mail: Body content as plain text with quotes
- From: Christopher Stone <email@hidden>
- Date: Tue, 05 May 2015 02:31:49 -0500
On May 05, 2015, at 01:36, Shane Stanley < email@hidden> wrote: I don't think you need to go near Base64. I suspect extracting the first quoted printable part and decoding that will return what the OP wants. Something like this:
______________________________________________________________________
Hey Shane,
You're assuming there is a quoted-printable part.
I get some messages that are entirely base64 in the source.
For my own purposes I will have to cover all possibilities.
At the moment my Mail-to-text script just gets the message content and dumps it into a document in BBEdit, but ultimately I want to do better than what Mail presumes the content is.
My experience with QP is that a few find/replaces fails to be comprehensive enough.
-- Take Care, Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden