【发布时间】:2015-01-30 06:18:04
【问题描述】:
我使用 AppleScript 并且可以毫无问题地发送消息,但是“已发送”框没有收到我发送的内容的副本。但是,如果我使用邮件应用程序发送消息,“已发送”框会获得我发送的内容的副本。所以我猜我的 AppleScript 可能会错过一个命令,告诉 Mail 保留已发送消息的副本。我错过了什么命令?谢谢。
tell application "Mail"
set theNewMessage to make new outgoing message with properties {subject:theSubject, content:theBody & return & return, visible:true}
tell theNewMessage
set visibile to false
set sender to theSender
make new to recipient at end of to recipients with properties {address:theAddress}
make new attachment with properties {file name:theAttachment} at after the last paragraph
send
delay 5
end tell
end tell
【问题讨论】:
标签: email applescript