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

Send outgoing message error from Mail.app


  • Subject: Send outgoing message error from Mail.app
  • From: Alan Kimelman <email@hidden>
  • Date: Tue, 26 Jan 2010 12:20:28 -0800

I am trying to send an outgoing message from Mail.app but run into error number -1708

tell application "Mail"
set a_message to item -1 of ((every outgoing message))
tell a_message

make new to recipient at beginning of to recipients ¬

with properties {address:"Foo Goo <foo.goo@gmail.com>", «class rdsn»:"FirstName LastName"}

send

end tell
end tell

In this case the outgoing message id that was targeted was  id 33.

AppleScript Editor  events response showed the following error:

error "Mail got an error: outgoing message id 33 doesn’t understand the send message." number -1708 from outgoing message id 33

Any ideas on how to have Mail.app send an Email without triggering  an  error? 
I am running this on a MacBook Pro running Snow Leopard version 10.6.2.
Thanks
 _______________________________________________
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: Axel Luttgens <email@hidden>
    • Re: Send outgoing message error from Mail.app
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Scripting the unscriptable
  • Next by Date: Re: Send outgoing message error from Mail.app
  • Previous by thread: Re: Scripting the unscriptable
  • Next by thread: Re: Send outgoing message error from Mail.app
  • Index(es):
    • Date
    • Thread