• 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: Why can't I set sender in new outgoing Apple Mail message?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Christopher Stone <email@hidden>
  • Date: Thu, 30 Apr 2015 21:31:56 -0500

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.
______________________________________________________________________

Hey Michael,

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.

--
Best Regards,
Chris

 _______________________________________________
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: 
 >Why can't I set sender in new outgoing Apple Mail message? (From: Michael Grant <email@hidden>)

  • Prev by Date: Re: Scripting Mail: Body content as plain text with quotes
  • Next by Date: Re: Outlook 2011 - Accessing/Removing Recipients
  • Previous by thread: Why can't I set sender in new outgoing Apple Mail message?
  • Next by thread: Re: Why can't I set sender in new outgoing Apple Mail message?
  • Index(es):
    • Date
    • Thread