Outlook for Mac

AppleScript “send” command doesn’t send message

待回答 0 个回答

较早的帖子,发布于 2014年1月26日。 其中的信息可能已经过时。

本帖暂无中文翻译,以下为英文原文。

问题 提问于 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

暂无回答

撰写回答

您的邮箱地址不会被公开。请勿发布密码。

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