• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Mail: Body content as plain text with quotes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Mail: Body content as plain text with quotes


  • Subject: Re: Scripting Mail: Body content as plain text with quotes
  • From: Simon Forster <email@hidden>
  • Date: Fri, 01 May 2015 12:12:38 +0100

> On 1 May 2015, at 03:23, Christopher Stone <email@hidden> wrote:
>
> On Apr 30, 2015, at 05:31, Simon Forster <email@hidden> wrote:
>>
>> Does anyone know of a relatively easy way to get the body content of an email message with quote levels in place?
> ______________________________________________________________________
>
> Hey Simon,
>
> Simple?  It depends on the content.  :)
>
> Try getting the source of the message.

Headers, multi-part MIME, etc. Of course it can be parsed out but I’m looking for the easy way.

:-)

Oh well, time to grab the source of the message, dig out the Content-Type header and, where appropriate, boundary and then find the text/plain version. Just seems silly ‘cause Mail must have done it already.

ATB

Simon
 _______________________________________________
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


  • Follow-Ups:
    • Re: Scripting Mail: Body content as plain text with quotes
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: Why can't I set sender in new outgoing Apple Mail message?
  • Next by Date: Re: Why can't I set sender in new outgoing Apple Mail message?
  • Previous by thread: Re: Why can't I set sender in new outgoing Apple Mail message?
  • Next by thread: Re: Scripting Mail: Body content as plain text with quotes
  • Index(es):
    • Date
    • Thread