View Single Post
  #2  
Old January 9th 06, 03:02 PM posted to microsoft.public.outlook.program_vba
sheldon
external usenet poster
 
Posts: 6
Default I want to send a new message to a user when a specific email a

I have a folder, or more specifically a sub folder, called homemessage in my
outlook PST. How can I determine that this folder hass a new unread message.
As previously stated I already know who is going to get the message. The
example below provides coding for one of the standard folders like contacts
or inbox. How do I specify a folder like inbox\homemessage? Then can I use
comparable code like the itemadd to send the mail. Thanks for your help
Sheldon

"Michael Bauer" wrote:

Am Fri, 6 Jan 2006 19:53:02 -0800 schrieb sheldon:

What you´re looking for is the ItemAdd event of that folder. A sample is
available in the VBA help.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



I have set up a rule that sends a message from a user to a specific

folder.
What I would like to do is, once the email arrives in the specified

folder,
send a brand new message to a user notifying him of the arrival of a

message
in that folder. I do not want to reply because there are attachments in

the
mail and I do not want to reply to the original sender. I can construct a
new email using vba but I need some type of trigger like checking the

folder
that the mail was routed to for unread messages and on each update of that
folder fire off the new message. If anybody could help I would really
appreciate it. Thanks


Ads