Re-Route Messages

  • Thread starter Thread starter cpicklesimer
  • Start date Start date
C

cpicklesimer

I want to flag all messages in which the first two
characters of the subject line are "01" then forward that
email to another address. How/Can this be done with VBA?

Thanks
 
Hey bud,

I am not sure exactly, but I think you use the mailItem's flagStatu
property.

Dim newMail as outlook.MailItem
Set newMail = new outlook.MailItem
newMail.flagStatus = olFlagMarkup

I'm also not sure bout that constant "olFlagMarkup"
but when u r writing the code visual studios tells u the possibilities

Happy Coding,
Khalife
 
Back
Top