- You can create rule to automatically forward message when it arrive to different email address.
- BUT you can’t select account from which you want to send it.
Message arrives on mailbox firstname.lastname@example.org and you want to forward it from another mailbox email@example.com
In this case you need to use macro to forward message from different account.
The VBA macro
Lets assume mailbox firstname.lastname@example.org is the first mailbox on the list of configured outlook mailboxes.
You need to create new macro like this:
Email autoforward script for Outlook
Sub autoforward(MyMail As MailItem)
'uncomment to see what mailbox is defined under position one
' MsgBox Application.Session.Accounts(1)
If Application.ActiveExplorer.Selection.Count Then
If TypeOf Application.ActiveExplorer.Selection(1) Is Outlook.MailItem Then
' uncomment if you want to get message on every email forward. It is good for testing
' MsgBox MyMail
Set myFwd = MyMail.Forward
' Set email address to forward to
' Delete (or not save) the sent copy after it is forwarded
myFwd.DeleteAfterSubmit = True
' Here you are selecting the account from which you want to forward
myFwd.SendUsingAccount = Application.Session.Accounts(1)
Create rule to use this macro
Run Rules Wizard and create rule using the „run a script” rule action, for every email you receive. Select your newly created VBA Macro.