如何复制已发送的电子邮件,进行编辑和再次发送

时间:2013-03-04 13:17:13

标签: applescript

我在Mac OS X 10.7.5上使用Outlook for Mac 2011版本14.3.1。我想收到一封已发送的电子邮件,制作副本,打开,编辑并再次发送。我曾经有一个苹果脚本来做这个,但下载它的链接似乎不再起作用。

1 个答案:

答案 0 :(得分:0)

我怀疑它是这样的。

在已发送的iTems中选择您的电子邮件并运行脚本

  tell application "Microsoft Outlook"
    set theMessage to item 1 of (get selection) # get the first email message

    set subj to subject of theMessage
    set recip to (email address of to recipient of theMessage)


    set cont to content of theMessage
    set newMail to make new outgoing message with properties {subject:subj, content:cont}

    repeat with i from 1 to number of items in recip
        set this_item to item i of recip
        tell newMail to make new recipient at newMail with properties {email address:this_item}
    end repeat

    open newMail
end tell

该脚本会创建一条包含所有先前收件人,主题和内容的新邮件。 然后打开它准备编辑