Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exchange Public Folder script question

Status
Not open for further replies.

pianoben

Programmer
May 8, 2006
13
US
Hello, experts!

I'm unsure if this is the appropriate forum, but the Exchange forum didn't seem to deal much with scripts. So, if this is the wrong place, apologies.

I am trying to write a script that will run when messages in a given public folder are posted or modified, and removes embedded images from the message body. I'm very unfamiliar with VBScript, and would like to know if there exists a simple way to accomplish this.

Any ideas?

Thanks!
 
To get started, this will open a specified Public Folder to view:

Code:
Set myApp = CreateObject ("Outlook.Application")
Set myNameSpace = myApp.Application.GetNamespace("MAPI")
Set myfolder = myNameSpace.Folders("Public Folders").Folders("All Public folders").Folders("Your_Folder_Name")

Myfolder.display
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top