• 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: Brian Christmas <email@hidden>
  • Date: Fri, 01 May 2015 16:12:33 +1000

G’day Michael

This code might be useful to you.

tell application "Mail"
email addresses of accounts
end tell


Regards

Santa


On 1 May 2015, at 5:28 am, Michael Grant <email@hidden> wrote:

Any idea why the code below isn't working? The message is created but the sender is not set.
Mucho thanko in advance!

Michael

tell application "Mail"
set theOutMessage to make new outgoing message with properties {sender:"email@hidden"}
end tell




--
There's really no such thing as translating. It's all a scam. We basically just make stuff up and try to make it sound plausible.
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: Outlook 2011 - Accessing/Removing Recipients
  • Previous by thread: Re: Why can't I set sender in new outgoing Apple Mail message?
  • Index(es):
    • Date
    • Thread