I
IanC
Hi,
I've added the "anti-embarrassment" code to check for key words
"attachment" "enclosure" etc in emails on Application_ItemSend – this
code pops up a dialog box if any of the key words are found and there
is no attachment. This works fine when I am the originator of a new
mail
The problem is that when replying to received emails, often the
original message text gets a company disclaimer added that includes
one of the key words, so I get a invalid warning that I have
"attachment" in my text and no such attachment.
There is an option to not spell check original message text – which
implies you can split Item.body text into original and new text.
So how to do this - are there any Item.Body properties or any other
way to restrict something like an InStr test to just the new text? Or
an "On Load" method where you can store original text before editing
starts?
Regards,
Ian
I've added the "anti-embarrassment" code to check for key words
"attachment" "enclosure" etc in emails on Application_ItemSend – this
code pops up a dialog box if any of the key words are found and there
is no attachment. This works fine when I am the originator of a new
The problem is that when replying to received emails, often the
original message text gets a company disclaimer added that includes
one of the key words, so I get a invalid warning that I have
"attachment" in my text and no such attachment.
There is an option to not spell check original message text – which
implies you can split Item.body text into original and new text.
So how to do this - are there any Item.Body properties or any other
way to restrict something like an InStr test to just the new text? Or
an "On Load" method where you can store original text before editing
starts?
Regards,
Ian