我使用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
非常感谢。首先用于捕捉拼写错误。其次为潜在的决议。我会看看IMAP设置,服务器设置,并尝试你的方法。很高兴有你的确认我的命令是很好的保存副本。再次感谢。 – 2014-12-03 23:03:17