Mail 8.1: AppleScript to reply email, can't set content
| Originator: | amorya | ||
| Number: | rdar://19348912 | Date Originated: | 26-Dec-2014 12:29 PM |
| Status: | Open | Resolved: | |
| Product: | Product Version: | Mail 8.1 (1993) | |
| Classification: | Other Bug | Reproducible: | Always |
Summary: When I am replying to an email through AppleScript, I cannot seem to set the content. Steps to Reproduce: Run the following script: tell application "Mail" copy first message of inbox to emailMessage set replyMessage to reply emailMessage without opening window set content of replyMessage to "Hello" set visible of replyMessage to true end tell Expected Results: A new outgoing email window appears, a reply to the first email in the inbox, with its body text set to Hello. Actual Results: A new outgoing email window appears, a reply to the first email in the inbox, with no body text (or with just the quoted original message, depending how your Mail preferences are set up).
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!