• 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: What is the problem with Mail.app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the problem with Mail.app?


  • Subject: Re: What is the problem with Mail.app?
  • From: Axel Luttgens <email@hidden>
  • Date: Sat, 21 Apr 2007 11:30:51 +0200

On 20/04/07 14:54, Bernardo Höhl wrote:
Hi List,


I am trying to set a reply-to in Mail, but this doesn't work:


                tell application "Mail"
                    set the new_message to (make new outgoing message with properties {visible:true, subject:TheSubject, sender:senderAddress, content:textVersion, reply to:"email@hidden"})

This doesn't seem to work too:

set reply to of outgoing message id new_message to "email@hidden"


Any tips would be appreciated... Thank you,

Hello Bernardo,

Looking, in Mail.app's dictionary, at the definition of an "outgoing message", it appears that there is no "reply to" property for that class.
On the other hand, class "message" has such a property.
By saving your "outgoing message", you'll get a "message" in the drafts mailbox; you could then set the "reply to" property of that draft message.

Sorry, I couldn't find another way...

HTH,
Axel
 _______________________________________________
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

References: 
 >What is the problem with Mail.app? (From: Bernardo Höhl <email@hidden>)

  • Prev by Date: Re: file is already open & file wasn't open
  • Next by Date: Costa Bugg is out of the office.
  • Previous by thread: What is the problem with Mail.app?
  • Next by thread: Formatting question
  • Index(es):
    • Date
    • Thread