• 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: Content of message - Apple's Mail app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Content of message - Apple's Mail app


  • Subject: Re: Content of message - Apple's Mail app
  • From: daniel <email@hidden>
  • Date: Sat, 22 Jan 2005 17:33:10 -0800

I don't think you can. You're asking for HTML parsing, which Mail doesn't provide. When I've been in situations like yours I've had to ask for the source and "parse" (clumsy search for substrings) it myself.

Daniel

On Jan 22, 2005, at 11:57 AM, Charlie Buckett wrote:

Working from Mail's dictionary, I see that one can get the 'content' of a message or the 'source' of a message.

If a message is HTML and I say:

set theMessage to the content of message i etc…

Only a footer added by the listserv is captured. The rest of the message is returned simply as '?'

If I say:

set theMessage to the source of message i etc…

Everything in the message (including a lot of stuff I don't want) gets returned.

How do I get just the text I see in a message window?

(my Buckett's got a hole in it).
Charlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Content of message - Apple's Mail app (From: Charlie Buckett <email@hidden>)

  • Prev by Date: Re: What the !? two script variants to move a file - one works, the other doesn't?
  • Next by Date: Re: Do shell script question - non sudoer user
  • Previous by thread: Content of message - Apple's Mail app
  • Next by thread: Re: Content of message - Apple's Mail app
  • Index(es):
    • Date
    • Thread