使用AppleScript发送Outlook消息时如何避免Outlook安全警报?

时间:2018-09-21 20:50:19

标签: outlook applescript

我正在使用下面的Apple脚本发送Outlook消息

set testFile to "Test.xlsx" set filepath to ¬ ((folder of file (path to me) of application "Finder" as text) ¬ & testFile) as alias set posixDocumentPath to POSIX path of filepath set theRecipient to "adfff@gmail.com" set theSubject to "Test Message" set theContent to "Outlook Mac Test" tell application "Microsoft Outlook" activate set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent} make new recipient at theMessage with properties {email address:{address:theRecipient}} send theMessage end tell

但是我看到Outlook安全警报,如何绕过enter image description here

0 个答案:

没有答案