------ Register to get rid of these "In Post" ads! ------
Are you sure you really, really want to do that?
Just to give you an example, if you start typing and then select a different
account, chances are you typed in an area that Outlook considers to be the
signature and wipes out your text. Happens to me about 50% of the time.
Luckily, Edit | Undo works fine.
If you do something like that after the user clicked Send and has no chance
to undo the changes or even be aware that something happened, you'll have a
large crowd of very, very unhappy customers.
In other words, don't do that.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Josh" <jgordon428@gmail.com> wrote in message
news:be860868-3477-4b49-bd96-46054bc038f9@h60g2000hsg.googlegroups.com...
OK, explicitly removing and inserting is fine. However, I'm not sure
how to get started in terms of:
1) Locating the existing signature in the message and removing it
(given that I will have to determine where the signature block is,
since the text could be anything).
2) Determining which signature goes with the newly selected account
3) Inserting the new signature at the correct location.
Any ideas to get me started?
Thanks,
Josh