PDA

View Full Version : Solved: AutoForward Gmail setting (OL2003)



Emily
05-13-2005, 09:02 AM
Is it possible to set auto forward to Gmail in Bcc?

Thanks
Emily

MOS MASTER
05-13-2005, 11:21 AM
Hi Emilly, :D

Don't use Gmail myself, but if it is a normal emailaddress you can use the rules wizard to setup a rule to autoforward a message (you decide criteria) to that Gmail account.

Enjoy! :whistle:

Emily
05-13-2005, 02:17 PM
Thanks for your reply

But I cannot find BCC in the rule

MOS MASTER
05-13-2005, 02:24 PM
Thanks for your reply

But I cannot find BCC in the rule
Hi Emily,

So sorry that's because it is not posible in a Rule! I've read over the BCC part...so sorry! :banghead:

I think we can make this work in a macro that you can use in a rule for incomming mail.

Should the macro only fire if a paricular person has send the email. (comming from a particular person that is)

Please advice on which type of email autoforwarding should apply..(little time left today but I'll set it up tommorow)

:whistle:

Emily
05-13-2005, 03:46 PM
ALL
Gmail is large enough to hold all email.

Thanks

MOS MASTER
05-14-2005, 09:52 AM
ALL
Gmail is large enough to hold all email.

Thanks
Hi, :yes

Don't know what you mean by this in relation to my reply? :whistle:

Emily
05-14-2005, 10:20 AM
Sorry, I want to forward all incoming email to Gmail account.

Can the VBA store in server side? (User need not to logon)

MOS MASTER
05-14-2005, 10:55 AM
Hi, :D

I don't understand your second question about server side script!

Try this first.
Set up a new rule for all incoming email
in step two choose run script and attach this script:
Sub AutoForwardIt(oItem As Outlook.MailItem)
Dim oNewItem As Outlook.MailItem

Set oNewItem = oItem.Forward

With oNewItem
.To = "To@vbax.com"
.BCC = "BCC@vbax.com"
.Send
End With

Set oNewItem = Nothing
End Sub


Enjoy! :whistle:

Emily
05-14-2005, 02:02 PM
MOS

I had saved the code in the VBA probject and add rule in client side.

But I cannot find any test email forward to my specified account both CC and Bcc. I tried to run the rule and found nothing in send folder too.

Please help

MOS MASTER
05-14-2005, 02:14 PM
Hi, :yes

This will be hard for me because my version of Office is in Dutch so translations may differ!

Ok First create a module in Outlook and add the above code!
Make sure you fill in To and BCC with a Valid address!

Close the VBE and Close Outlook Choose yes to save the OTM file!

Open Outlook and go to Tools/Rules
* Choose New Rule
* Start with empty rule (Type check mail on arival)
* Step 1 do nothing choose next press yes at the msg that the rule will be followed for all incoming mail
* Step 2 Check Run script
* Below press Run script and choose the sub AutoForwardIt
* Choose Next
* Step 3 do nothing
* Choose Next
* Name your rule and press Apply
* Done

* Send test email to yourself and see if your rule is run when you are getting your mail back

Good luck! :whistle:

Emily
05-14-2005, 02:49 PM
Tested fine now with security set to medium

Thanks

MOS MASTER
05-14-2005, 02:52 PM
Tested fine now with security set to medium

Thanks
Hi Emily, :yes
You're Welcome! :beerchug:

And yes setting macro security to medium is the minimum you have to do in Office to get macro's to run. (I do forget to mention that a lot of times)