Gurunathans
asked on
Forward sender specific MS Outlook office emails to personal Email Account
Requirement:
I would like to automatically Forward emails from my MS Outlook client, which I receive from a particular sender, to my personal Email Account.
- This should be done from the MS Outlook client itself or using a separate stand alone program that I can run in the background that continuously monitors my outlook emails and forwards them to my personal email account (gmail, yahoo, hotmail etc).
What will be the best approach to do this - VBA Macros or standalone .NET program ?
What classes / methods are available to do this ?
I would like to automatically Forward emails from my MS Outlook client, which I receive from a particular sender, to my personal Email Account.
- This should be done from the MS Outlook client itself or using a separate stand alone program that I can run in the background that continuously monitors my outlook emails and forwards them to my personal email account (gmail, yahoo, hotmail etc).
What will be the best approach to do this - VBA Macros or standalone .NET program ?
What classes / methods are available to do this ?
ASKER
Hi Chris,
Thanks for the reply.
I created a Rule to forward emails from a specific sender to my GMAIL but did not work.
Just so that you know I am using the MS Outlook in my office M/c in the office intranet. The email I am sending it to is my GMAIL account. I am able to send emails directly from my outlook to my GMAIL account.
The reason for my doing this is that I don't have a Blackberry to read some important office emails and appointments. So I want to forward the emails automatically overnight to my GMAIL which I can access on my mobile phone when I am in commuting.
Thanks for the reply.
I created a Rule to forward emails from a specific sender to my GMAIL but did not work.
Just so that you know I am using the MS Outlook in my office M/c in the office intranet. The email I am sending it to is my GMAIL account. I am able to send emails directly from my outlook to my GMAIL account.
The reason for my doing this is that I don't have a Blackberry to read some important office emails and appointments. So I want to forward the emails automatically overnight to my GMAIL which I can access on my mobile phone when I am in commuting.
One possibility is if you are on an exchange server for mail then the IT may have disabled forward.
We can achieve the same effect through VBA if that is the case. Let me know.
Chris
We can achieve the same effect through VBA if that is the case. Let me know.
Chris
ASKER
Chris,
I like the VBA solution better. Do you think if there is a way this function can be built into a C# based .NET process ?
Thanks.
I like the VBA solution better. Do you think if there is a way this function can be built into a C# based .NET process ?
Thanks.
ASKER
The pst file is residing on my local directory. The MS outlook client periodically downloads mails from the exchange server on to my local pst file. I am not very savy with how MS OUtlook works hence pardon me if I stated any blunders.
>>> Do you think if there is a way this function can be built into a C# based .NET process ?
SInce it sounds like hieroglyphics to me I cannot answer, i.e. not familiar with .net generally that's still an aspiration for the future.
IN terms of the outlook client then I am reasonably competent so hopefully can take you through it with any knowledge of the mechanism coming from us ... still up for it?
Chris
SInce it sounds like hieroglyphics to me I cannot answer, i.e. not familiar with .net generally that's still an aspiration for the future.
IN terms of the outlook client then I am reasonably competent so hopefully can take you through it with any knowledge of the mechanism coming from us ... still up for it?
Chris
ASKER
Yes totally !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Meant to say, modify this line to reflect the address where you want the forwarded mail to go:
Const olkFwd As String = "fred@fred.com"
Chris
Const olkFwd As String = "fred@fred.com"
Chris
ASKER
Followed the steps you listed and the macro worked fine.
-Thanks.
-Thanks.
glad to help.
Chris
Chris
A simple rule based off the sender and forwarding should do the job nicely on the client pc.
Regards,
chris_bottomley