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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook Form - What am I doing wrong?

Status
Not open for further replies.

mblaster

Technical User
Sep 7, 2001
45
US
I am trying to have this script run only if it Forwarded. I work for a federally regulated company and all email created on specific topics needs a copy sent to our Compliance department mailbox. Here is what I have tried:

Function Item_Forward(ByVal Forward)
dim strComplianceTest
strComplianceTest = "Email@Address.com"
Item.messageClass=sSaveMessageClass
Item.CC = strComplianceTest
Item.Save
Item.Send
End Function

1. How do I stop the Macro prompts (Disable/Enable) from happening.
2. It does not send the CC nor show the address in the box.

Do I need Item.Display or something like that? PLEASE HELP!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top