VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



The Outlook macro disables the Save sent message to: check box under the Delivery options.

by Leo Romano (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 5th February 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

The Outlook macro disables the "Save sent message to:" check box under the Delivery options.

Rate The Outlook macro disables the Save sent message to: check box under the Delivery options.



On Error GoTo ErrorHandler
    Dim oInspector As Inspector
    Dim oMailItem As MailItem
    Set oInspector = Application.ActiveInspector
    Set oMailItem = oInspector.CurrentItem
    oMailItem.DeleteAfterSubmit = True
    Exit Sub

ErrorHandler:
    MsgBox Err.Description & vbCrLf & Err.Number
End Sub

Download this snippet    Add to My Saved Code

The Outlook macro disables the Save sent message to: check box under the Delivery options. Comments

No comments have been posted about The Outlook macro disables the Save sent message to: check box under the Delivery options.. Why not be the first to post a comment about The Outlook macro disables the Save sent message to: check box under the Delivery options..

Post your comment

Subject:
Message:
0/1000 characters