Re: What is the problem with Mail.app?
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