Outlook Rule

K

Karl Kamysek

Hi,

I would like to make a rule to have Outlook open a particular web page upon
receipt of an email from a particular address.

I was able to create a rule to have Outlook launch IE upon receipt of the
message, but I want it to go to a particular webpage, not my IE home page.

Is this possible?
 
K

Karl Kamysek

I have a webserver at home connected to my coral reef aquarium controller.
The controller alerts when certain parameters are met, (water temp too low,
pH too high, cirulation pump not functioning, etc.). When the controller
alerts, the web server sends an email to me. I would like that email to
trigger outlook to automatically launch IE and open the webpage to access my
controllers webserver so I can see more detailed information than what is
contained within the email.

Hope that makes some sense :)

Thanks,

Karl
 
K

Karl Kamysek

Okay, so how do I create a script to do this?

When I receive an email from my reef controller, I want it to open my reef
controllers web page at http://mybiocube.kicks-ass.net:5060

I know how to get into the rules and select it to run a custom script, I
think I can even find my way into outlooks VB editor to write the script, I
just don't know what the code would be to launch IE and tell it to go right
to my servers page. I could set it up to launch IE and set my homepage to
the controllers page, but as I use my search provider a lot more than going
to my reef controller, I do not want to set it up that way.

Thanks for any help.

Karl
 
R

Roady [MVP]

Hi Karl, this VBA script should get you going. You can execute it via the
Run a Script action in a rule;

Sub OpenBrowser(MyMail As MailItem)
Dim IE As Object
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate "http://www.howto-outlook.com"
IE.Visible = True
Set IE = Nothing
End Sub

Make sure you sign the macro so you won't need to lower your security
settings to prevent any security prompts.
For details see;
http://www.howto-outlook.com/howto/selfcert.exe
 
K

Karl Kamysek

Thanks Roady!!!

Works like a charm, that is exactly what I was looking for!

Thanks again!

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top