Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm trying to use apple script to automate creation of a new outlook mail message.

The below code will work when I have my email account sent up as pop3 but I need it to work with an IMAP account.

tell application "Microsoft Outlook"
    set newMessage to make new outgoing message with properties {subject:"test", plain text content:"", content:""}
end tell
share|improve this question
What happens when you run this? How does your script choose POP or IMAP? (Or what are you doing to change outlook between runs of this same script?) – bmike Apr 25 '13 at 11:01
The script isn't selecting POP or IMAP its how the account is setup in outlook i.e. if i set an email account in outlook using POP3 the script work's and I get a new message in the drafts folder. Using IMAP the script runs with no errors but no new message appears. I get the same response in the results window "outgoing message id 108147 of application "Microsoft Outlook"" with both pop3 and imap – Duncan Apr 25 '13 at 11:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.