PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Program Addins
Formatting of mail body and accessing mail signature
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Program Addins
Formatting of mail body and accessing mail signature
![]() |
Formatting of mail body and accessing mail signature |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hello,
I am using Outlook 2003. I have an add-in to compose mails on clicking a taskbar button. Everything is fine, but I want to beautify some things in the mail. 1) There are a few data in my mail body that I would like to make bold and give different color. For e.g. a Due Date. All I am currently doing is: mailItem.Body = "Some text.. blah blah..." How to set a particular part of the body string alone as bold and with different color? I am having RichText as the mail format. 2) I have a mail signature set in my Outlook. At the end of the mail body, I would like this signature to appear. From where can I access the signature string? I checked the Application object, but this doesn't have any property like signature. A search for 'signature' gives only pointers to digital signatures for encryption. Thanks for any help! Regards, Sena |
|
|
|
#2 |
|
Guest
Posts: n/a
|
1) See http://www.outlookcode.com/d/formatmsg.htm. The WordMail and
Redemption SafeInspector methods are the easiest to implement. 2) See http://www.outlookcode.com/codedetail.aspx?id=615 -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Senapathy" <senapathy.k_nospam@siemens.com> wrote in message news:d0re43$hoq$1@news.mch.sbs.de... > Hello, > > I am using Outlook 2003. > > I have an add-in to compose mails on clicking a taskbar button. Everything > is fine, but I want to beautify some things in the mail. > > 1) There are a few data in my mail body that I would like to make bold and > give different color. For e.g. a Due Date. > All I am currently doing is: mailItem.Body = "Some text.. blah blah..." > How to set a particular part of the body string alone as bold and with > different color? > I am having RichText as the mail format. > > 2) I have a mail signature set in my Outlook. At the end of the mail body, > I > would like this signature to appear. > From where can I access the signature string? I checked the Application > object, but this doesn't have any property like signature. A search for > 'signature' gives only pointers to digital signatures for encryption. > > Thanks for any help! > > Regards, > Sena > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

