View Single Post
  #2  
Old April 9th 09, 03:26 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default To know new message length

Get the length of the Body and/or HTMLBody properties when the item opens,
get it again when the Send() event fires. Compare the 2 values.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Nagaraj" wrote in message
...
Hi,

I opened already existing mail.I clicked Forward button. I entered some
valid email address in To field. Without entering anything I clicked Send
button.

My requirement is how to know that I didn't enter anything.
i.e I want to know the length of newly entered text which is 0.

How to calculate this value?

Thanks


--
Nagaraj Tadipatri


Ads