I have an AppleScript to generate and send an email message. It creates the message, but the message doesn't actually get sent, it just gets stored in the Outbox with an error that it could not be sent.

It looks something like this:

tell application "Microsoft Outlook"

activate

set w to make new outgoing message with properties ¬

{account:(pop account myAccount), subject:"test", plain text content:"this is a test"}

make new recipient at w with properties {email address:{address:myAddress}}

open w

                          send message id (id of w)

           end tell


Is this a bug in Outlook 2011 Mac or am I doing something wrong? I've searched the web and this seems to be a common problem.

A similar script worked like a charm in Entourage.

TIA
Rick

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.