How do I forward a specific folder in Outlook 2010 to a hotmail address?
I would like to forward a specific folder in Outlook, no exchange server, to my hotmail address when abroad.
Ideally I would move my inbox to another folder within Outlook and then forward that one so at least I only receive the spam filtered stuff to my mobile.
Thanks
Outlook
Last Comment
Chris Bottomley
8/22/2022 - Mon
Mike Thomas
You can very easily set up a rule so that when emails are received they are forwarded to your hotmail account.
You may be limited by your version of outlook but take a look at this guide.
Assuming that outlook client remains on the PC, (implicit in the statement re moving mails to another folder). In such a case we can detect items being dropped into the relevant folder and forward them using VBA if that would be ok - this would therefore take the spam filtered output rather than every mail.
Chris
gilbey666
ASKER
Thanks, what is VBA and where is the rule to select a particular folder?
Chris Bottomley
VBA i.e. macros. SOme code to automate aspects of functionality.
Everything else we can help with ... it's whether macros are permitted.
Ve3ofa: Tried this rule, trouble is it forwards from main INBOX then moves a copy to the mirror folder, so making it difficult to recognise which emails I forwarded as opposed to which the rule did. So need to Move then Forward.
Chris: Is it possible then to have a Macro to do this?
Thanks
Chris Bottomley
How familiar are you with VBA and what is the path for the folder where you would want the mails to go?
I am not familiar with VBA, but willing to learn! Think it's based on Visual Basic, the last time I had anything to do with Basic was in the 1970s for 'O' level computing, ouch!
The .pst is located at: C:\Users\XPS420\Documents\Data\Outlook\RJB Outlook.pst
The folder within the .pst is \\RJBs Stuff\Inbox\Forward To Mobile
Hope that is enough detail?
Chris Bottomley
Is RJBs Stuff pst the same as the inbox in question?
As for VBA first off below is the general guidance I upload ... but will be more specific in a mo
Chris
VBA MAcro Editing via VBA:
Application | tools | macros | Macro Security | trusted sources | Trust Access to the VBA Object Model ... Ensure ticked
Application | Office Button | App Options | Trust Centre | Trust Centre Settings | MAcro Settings | Trust Access to the VBA Object Model ... Ensure ticked
To Record a macro:
------------------
Tools | Macro | Record New Macro, (Stop recording button or Tools | Macro | Stop Recording at end)
To Create a macro:
------------------
Alt + F11 to open the macro editor
For Applicationevent handlers:
In the project tree select as appropriate:
WORD : thisDocument
EXCEL : thisworkbook
OUTLOOK : thisOutlookSession
In the workpane select as appropriate:
WORD : Document
EXCEL : WorkBook
OUTLOOK : Application
In the workpane select the required 'event', (i.e. 'open').
Either
Insert the required code from the supplied sub into the selected subroutine.
Or
Replace the template inserted by the VBE with the sub as supplied
For worksheet event handlers:
In the project tree select as appropriate:
EXCEL : the worksheet code page
In the workpane select as appropriate:
EXCEL : WorkSheet
In the workpane select the required 'event', (i.e. 'Change')
For User Code:
Insert | Module to insert a code module into the project
In the project tree select the module.
Insert the required macro(s) into the selected module, ('Module1' or similar)
For a Class Code Module:
Insert | Class Module to insert a class code module into the project
In the project tree select the module.
Insert the required macro(s) into the selected module, ('Class1' or similar)
Close the Visual Basic Editor.
To run a macro:
---------------
Alt + F8
Select the macro
Select 'Run'
Check Security as appropriate:
------------------------------
In the application select Tools | Macro | Security
=========================
2003 and earlier
-------------------------
: Select Medium
: Select OK
=========================
==================================================================================
2007
----------------------------------------------------------------------------------
: Outlook Application - Warnings for all Macros
----------------------------------------------------------------------------------
: All Other Applications - Enable a trusted location and inhibit macros otherwise so do both!
: Disable Macros
Office Button, (top left of the screen)
Options
Trust Centre
Trust Centre Settings
MAcro Settings
Disable All MAcros with warnings
: Enable Trusted Locations
Office Button, (top left of the screen)
Options
Trust Centre
Trust Centre Settings
Trusted Locations
Add a preferred location
ENSURE YOUR FILE IS IN A TRUSTED LOCATION
Re-open to ensure it is recognised if the above has been changed
: Select OK
==================================================================================
Inbox is the default mailbox for my Pop3 account, the Forward to Mobile one is a subfolder where I was going to move the mail before forwarding itTree attached
You may be limited by your version of outlook but take a look at this guide.
http://www2.essex.ac.uk/cs/services/email/outlook_forwarding.html