Add signature to MailItem

B

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
 
M

Michael Bauer [MVP - Outlook]

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?
 
B

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 said:
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
 
M

Michael Bauer [MVP - Outlook]

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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top