We help IT Professionals succeed at work.

How do I forward a specific folder in Outlook 2010 to a hotmail address?

gilbey666
gilbey666 asked
on
202 Views
Last Modified: 2012-06-27
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
Comment
Watch Question

Mike ThomasConsultant
Top Expert 2010

Commented:
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.

http://www2.essex.ac.uk/cs/services/email/outlook_forwarding.html
Mike ThomasConsultant
Top Expert 2010

Commented:
This would require outlook to be open though, as your PC would need to "process the mail"
Mike ThomasConsultant
Top Expert 2010

Commented:
Actually scrap that last comment, is this work email or home?
CERTIFIED EXPERT
Top Expert 2011

Commented:
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

Author

Commented:
Thanks, what is VBA and where is the rule to select a particular folder?
CERTIFIED EXPERT
Top Expert 2011

Commented:
VBA i.e. macros.  SOme code to automate aspects of functionality.

Everything else we can help with ... it's whether macros are permitted.

Chris
David Johnson, CDSimple Geek from the '70s
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
modify your rule as follows:
 one more tick in your rules

Author

Commented:
Sorry for delay in getting back, been away.

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
CERTIFIED EXPERT
Top Expert 2011

Commented:
How familiar are you with VBA and what is the path for the folder where you would want the mails to go?

Chris

Author

Commented:
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?
CERTIFIED EXPERT
Top Expert 2011

Commented:
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
==================================================================================
CERTIFIED EXPERT
Top Expert 2011

Commented:
Also is that postbox the default one on the PC?

Chris

Author

Commented:
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

   Outlook Tree View
CERTIFIED EXPERT
Top Expert 2011
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.