Outlook doesn't run code in HTML message bodies, by default. This needs to be done with voting buttons, not HTML code, and will work only with Outlook recipients. Use the Options dialog to create whatever voting buttons you want, or to do it programmatically, use the Actions collection.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Mohit" <mohitscjain[ at ]gmail.com> wrote in message news:1173098285.845073.124920[ at ]30g2000cwc.googlegroups.com...
[Quoted Text] > Hi, > > I wanted to create and program Accept/Reject (of Meeting Request > type) sort of buttons but these buttons will be on my HTML mail > messages. I mean when recipient opens my mail message he will be > presented with mail message body and at the bottom my buttons will be > there inside the mail Item.(This sort of functionality is common when > using Meeting Request Items. But I want this to work with Mail > Item.). > > For this I am adding the necessary HTML button logic in the mail > item's HtmlBody. > On doing this buttons are appearing when my mail is opened but they > are not working. > > On right click and going to view source option I am getting correct > logic there that i have inserted. And when this View Source Code is > runned in IE as a different html page it works!!! but not inside > Outlook environment. And I want it to work inside Outlook. > > For information I am developing an Outlook Addin using VSTO 2005 SE > and Outlook 2003. > > Help appreciated on how to achieve this. > Some other approaches other than using HtmlBody property is also > invited. > Thanks in advance. >
|