阻止发送草稿电子邮件

Nic*_*ick 3 microsoft-outlook-2007

有没有办法在 Outlook 07 中将电子邮件标记为“不完整”或“草稿”,这样我就不会在我仍在对其进行更改时意外发送它?

Pau*_*ard 9

我们在 Outlook 2003 中使用类似于以下脚本的内容:-

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    'Ignore Non Email Objects
    If Item.Class <> olMail Then Exit Sub

    'Prevent Sending of email with the word Draft in the Subject
    If InStr(1, Item.Subject, "draft", vbTextCompare) > 0 Then
        Ans = MsgBox("You are not permitted to send Draft Emails", vbExclamation + vbOKOnly, "Draft Emails")
        Cancel = True
    End If

End Sub
Run Code Online (Sandbox Code Playgroud)

我应该补充一点,它会在邮件主题中查找“草稿”一词,如果找到,它将阻止发送电子邮件。


Bru*_*eod 5

被咬过一次后,我只写完一封电子邮件后才写信。