• 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: Michelle Steiner <email@hidden>
  • Date: Thu, 28 Jan 2010 10:55:08 -0700

On Jan 27, 2010, at 9:58 PM, Alan Kimelman wrote:

Mail. app creates an outgoing message. The  outgoing message does not end in the Drafts mailbox on my Mac immediately, although it does show up after an unclear interval of time in the Drafts mailbox.  I am running Os 10.6.2.

 As the display of this message in the Drafts mailbox is not predictable in regard to the interval of time, I wonder whether you  have any  recommendations for  executing  an Applescript that  is not prone to failure, absent a long delay interval?

Until an outgoing message is saved in the drafts folder, it has no ID, and is therefore not available to AppleScript.  By pressing Command-S, you can save the current version of a message to the drafts mailbox.

But since the message is being created manually, why is there a need to send it by using an Applescript?

Maybe this snippet will help:

tell application "Mail"
tell message viewer 1
set msgID to message id of messages of drafts mailbox
set Iden to id of message of drafts mailbox
end tell
end tell

-- Michelle

-- 
If you ever get the urge to run naked in public, drink some Windex.  It will keep you from streaking.


 _______________________________________________
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: 
 >Fwd: Send outgoing message error from Mail.app (From: Alan Kimelman <email@hidden>)
 >Re: Send outgoing message error from Mail.app (From: Brian Christmas <email@hidden>)
 >Re: 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>)

  • Prev by Date: Re: Send outgoing message error from Mail.app
  • Next by Date: Re: path to a script
  • 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