• 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
Apple Mail, Why is "?" not equal to "?"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple Mail, Why is "?" not equal to "?"


  • Subject: Apple Mail, Why is "?" not equal to "?"
  • From: Joe <email@hidden>
  • Date: Fri, 29 Jun 2007 10:05:39 -0700

Apple Mail seems to have a problem returning the content of a message that was composed in HTML. For example, a message from this Apple mailing list composed in HTML will return this when asked for "content" of message.

tell application "Mail"
set x to content of message 1 of mailbox "Testing"
end tell
-->
"? _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sbcglobal.net
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden"

The body of the message is missing and all that is returned is the list's siggy line.

More interesting, if I try to create a test to determine whether to call for "content" or "source" of a message, I get rather rude behavior. For example: Building on the above lines of script:

set y to text 1 of x
-->  "?"

y is "?"
--> false

What! It just returned that a second ago? I'm a little lost. I thought the last line should return true. Does anyone know what I'm seeing and why?

Joe
email@hidden

____________________________________________________________________

Things are more like they are now than they ever were before.
Dwight D. Eisenhower
_______________________________________________
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: Apple Mail, Why is "?" not equal to "?"
      • From: Joe <email@hidden>
  • Prev by Date: Re: time formatting
  • Next by Date: Re: Apple Mail, Why is "?" not equal to "?"
  • Previous by thread: Re: time formatting
  • Next by thread: Re: Apple Mail, Why is "?" not equal to "?"
  • Index(es):
    • Date
    • Thread