View Single Post
  #4  
Old April 20th 10, 07:35 AM posted to microsoft.public.outlook.program_addins
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Add signature to MailItem



Read the content of the file, for instance by using the Scripting Runtime
library, then write it into the Body property (plain text) or HTMLBody
(html email).

For each signature there're three files: A *.txt file for a plain text
email, and an *.htm file for an html formatted email.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Tue, 20 Apr 2010 11:22:59 +1000 schrieb BVM:

Thanks,

Let me explain again what I want.

I want to create an email on the fly. Before it is sent, I want to insert
sender's signature into the message body. If there is a signature on the
folder you

memtioned(C:\Users\[user]\AppData\Roaming\Microsoft\Signatures),
how do I put it into the mesage body of the MailItem?

Thanks,

Danny


"Michael Bauer [MVP - Outlook]" wrote in message
news


You can load the content of the signature file, which are located here on
Vista:

C:\Users\[user]\AppData\Roaming\Microsoft\Signatures

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Fri, 16 Apr 2010 16:45:16 +1000 schrieb BVM:

Hi, all:

When I send an email from Outlook add-in, in the mail item, can I add

the
signature that user normally uses in to it, without creating one one the
fly?

Thanks,

Danny

Ads