Re: Why can't I set sender in new outgoing Apple Mail message?
Re: Why can't I set sender in new outgoing Apple Mail message?
- Subject: Re: Why can't I set sender in new outgoing Apple Mail message?
- From: Yvan KOENIG <email@hidden>
- Date: Fri, 01 May 2015 12:33:34 +0200
Le 01/05/2015 à 04:31, Christopher Stone < email@hidden> a écrit :
On Apr 30, 2015, at 14:28, Michael Grant < email@hidden> wrote: Any idea why the code below isn't working? The message is created but the sender is not set.
______________________________________________________________________
tell application "Mail" set outGoingMsg to make new outgoing message with properties {sender:"email@hidden"} set visible of outGoingMsg to true end tell
The sender has to be from an existing account. You cannot set it arbitrarily.
I made tests with the exact mail addresses of my accounts. No luck, I tried with five different ones and the messages were always created with the sender address used for this list.
Yvan KOENIG (VALLAURIS, France) vendredi 1 mai 2015 12:33:15
|
_______________________________________________
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