View Single Post
  #5  
Old November 10th 06, 08:23 AM posted to microsoft.public.outlook.program_addins
Peter Reinhold
external usenet poster
 
Posts: 7
Default Creating a new mailItem with a signature, and a modified HTMLBody

To save an Item use Item.Save. Until you do that the HTML properties aren't
populated.


I'll try this, thanks

If you've looked at the HTML then you know that replacing the tag BODY
will do nothing for you, all it would do is replace that tag with whatever
you're adding. It would leave a hanging /BODY tag there. And with the
signature inside the BODY /BODY tags you'll end up losing your signature
anyway since you're replacing things.


Ofcourse, but, the string i'm replacing with starts with BODY

Signatures in Outlook are stored at C:\Documents and Settings\windows
logon\Application Data\Microsoft\Signatures. There's one in HTML, RTF and
Plain Text for every existing signature. I don't know offhand where the
setting for the default signature is stored, probably somewhere in the
registry. Changing that while running regmon or some other registry monitor
would probably show you that.


This is some nice info, i'll check the registry to see if I can find
anything there, but at least i'll be able to get the signature, if the
first method doesn't work.

Ads