问题 提问于 2014年1月26日
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
撰写回答