• 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: Send outgoing message error from Mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send outgoing message error from Mail.app


  • Subject: Re: Send outgoing message error from Mail.app
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 26 Jan 2010 17:30:58 -0600

I was thinking you were perhaps using the wrong mailbox. So I experimented.
First, an outgoing message seems to be any message in the Drafts mailbox or the Outbox mailbox that is open in Mail. So, I opened two messages in my Drafts mailbox and ran variations of this script ...

tell application "Mail"
activate
set outList to outgoing messages
log (count items of outList) --> 2
set msg to (item 1 of outList)
id of msg -- Mail got an error: Can't get id of outgoing message id 7.
end tell

I have used 'id of msg' before and it works. But, I've never used it with 'outgoing message'.

In the special case of 'outgoing messages' there seems to be a problem. ALL of the properties of 'outgoing message' seem to be broken. This is particularly ironic for 'id' ... if Mail can get the id to put into an error message, then there is no error and the error message "Mail got an error: Can't get id of outgoing message id 7." does not exist. Perhaps it's a mirage.

I smell a bug, here.

 _______________________________________________
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: Send outgoing message error from Mail.app
      • From: Alan Kimelman <email@hidden>
References: 
 >Send outgoing message error from Mail.app (From: Alan Kimelman <email@hidden>)
 >Re: Send outgoing message error from Mail.app (From: Michelle Steiner <email@hidden>)
 >Re: Send outgoing message error from Mail.app (From: Alan Kimelman <email@hidden>)
 >RE: [BULK] Re: Send outgoing message error from Mail.app (From: "Nielsen, Karen S. (Schmidt)" <email@hidden>)
 >Re: Send outgoing message error from Mail.app (From: Alan Kimelman <email@hidden>)
 >RE: Send outgoing message error from Mail.app (From: "Nielsen, Karen S. (Schmidt)" <email@hidden>)
 >Re: Send outgoing message error from Mail.app (From: Alan Kimelman <email@hidden>)

  • Prev by Date: Re: Scripting the unscriptable
  • Next by Date: Re: Applescript book recommendation
  • Previous by thread: Re: Send outgoing message error from Mail.app
  • Next by thread: Re: Send outgoing message error from Mail.app
  • Index(es):
    • Date
    • Thread