Script Event for Read vs Reply to Email

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hello - I would like to find a unique even that is called when one reads an
Email and also when one replies to an Email.

Suppose I have two forms. I read Form1 and I can click Reply to open Form2.

I noticed that the Read event is called when one opens and reads Form1 but
it is not called on the Reply Form (Form2) when one clicks Reply so that
works great.

However, when one clicks reply on Form1 and Form2 opens, I'm looking for an
event that is called on the Reply form (Form2) that is opened. I don't want
this event to be called on Form1. I don't want it to be called when users
Read a form. Only when they click Reply and it needs to be called on the
Reply form that is opened.

Thanks
 
I guess what I really mean to say is I'm trying to figure out if there is a
script event that is called or a property or something that identifies if
the user is Reading mail or Writing/Composing Mail.

Thanks,
Mike
 
The MailItem.Sent property.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I looked on the internet and discovered the Item.Size property which appears
to work. Any thoughts on that compared to the Mailitem property? Also, do
you know what versions of Outlook the MailItem will work in? I've tested it
2002 I'm just not sure if it works in 2000.

Thanks again for all your help,
Mike



The MailItem.Sent property.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
MailItem.Size will not tell you whether the message is a previously saved draft that has not yet been sent or a received message. MailItem is the basic message class for all versions of Outlook.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top