• 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: HTML email results in "??????????" when captured
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML email results in "??????????" when captured


  • Subject: Re: HTML email results in "??????????" when captured
  • From: "Patrick Collins" <email@hidden>
  • Date: Sun, 3 Jul 2005 11:51:33 -0700 (PDT)
  • Organization: Collinator Studios

Hi,  I am trying to capture the text of a paypal email within mail.app
using:

tell application "Mail"
    set theseMessages to selection
    set thisMessage to item 1 of theseMessages
    set myText to (content of thisMessage) as text
end tell

however, the result since the paypal email is HTML mail, myText becomes
"??????????????????????????????????"

and that's it..

Does anyone have any suggestions on how I can convert HTML email to
standard text for the purposes of this capture?

-patrick
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: HTML email results in "??????????" when captured
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: Insert silence in say's text
  • Next by Date: Re: Applescript-users Digest, Vol 2, Issue 440
  • Previous by thread: Re: Insert silence in say's text
  • Next by thread: Re: HTML email results in "??????????" when captured
  • Index(es):
    • Date
    • Thread