Skip to content

Module in VBA to add a "Report Spam" button in outlook and send it to verdacht@safeonweb.be

Notifications You must be signed in to change notification settings

T0nyMacaroni/OutlookSpamButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

OutlookSpamButton

Module in VBA to add as a "Report Spam" button in outlook and send it to verdacht@safeonweb.be

How it works

This module will send the current selected email in outlook as an attachment to verdacht@safeonweb.be and will delete the email from your inbox. This can be added as a button in your outlook ribbon for easy use.

How to install

Step 1: Enable developer mode

Open Outlook and navigate to File > Options.
Under Customize Ribbon, in the Main Tabs list, check the Developer box if it is not already checked.

Outlook Options

Step 2: Import module

In the outlook ribbon select the new Developer tab and click on Visual Basic (or press Alt + F11)
In the Visual Basic window click on File > Import File and import the module from this repository.

Import Module

Step 2b: Change email address (optional)

Change the email address in the code that you would like to send your spam to.
By default, this mail will be sent to verdacht@safeonweb.be. Feel free to change this.

Step 3: Add button in ribbon

Pick the tab where you want to add your own group.

Select New Group.
That adds New Group (Custom) to the tab you picked.

To use a better name for your new group, click Rename, type the name you want in the Display name box, and then click OK.

To add a macro to the group, in the Choose commands from list, click Macros.

Select the macro you imported to add to your new group, and then click Add. The macro is added to your Custom group.

Import Module

To use a friendlier name, click Rename, and then type the name you want in the Display name box and choose an icon. (optional)

Rename

Click OK to save.

The new group appears on the tab you picked, where you can click the button to run the macro.

Final Result

Enjoy!

About

Module in VBA to add a "Report Spam" button in outlook and send it to verdacht@safeonweb.be

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages