• 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: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"


  • Subject: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
  • From: "Joseph Pollone" <email@hidden>
  • Date: Fri, 9 Jun 2006 11:59:33 -0400

I'm having trouble figuring out how to set the recipient address
property.  If recipAddr = "email@hidden" how do I set the recipient
address using these properties?

set foo to make new outgoing message with properties {visible:true,
subject:"test"}



On 6/9/06, Michelle Steiner <email@hidden> wrote:


On Jun 9, 2006, at 8:07 AM, Henry Halff wrote:


I opened an outgoing message (using several different methods). In no case did the reference "message 1 of sent mailbox" return the outgoing message.

This works only if there are any messages in the Sent mailbox, of course.


Nor could I find it anyplace in the sent message. It did appear in the drafts mailbox once I saved it as a draft, but I can't think of a way of doing save as draft under script control (other than waiting around for autosave).

Unless you save an outgoing message, you can't reference it, except at the
time you create it under Applescript.  Once created, the script can save it
as a draft.

tell application "Mail"
 set foo to make new outgoing message with properties {visible:true,
subject:"test"}
 save foo
end tell

-- Michelle


-- "In Chico, California you'll find Velveeta in the gourmet section." --Herb Caen

 _______________________________________________
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


_______________________________________________
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


  • Follow-Ups:
    • Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
      • From: Michelle Steiner <email@hidden>
References: 
 >Problem with Reply, Forward and Outgoing Messages in Application "Mail" (From: Henry Halff <email@hidden>)
 >Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail" (From: Michelle Steiner <email@hidden>)
 >Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail" (From: Henry Halff <email@hidden>)
 >Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail" (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
  • Next by Date: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
  • Previous by thread: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
  • Next by thread: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
  • Index(es):
    • Date
    • Thread