Customizing e-mail message to include a button in it

Add-in Express™ Support Service
That's what is more important than anything else

Customizing e-mail message to include a button in it
Customizing e-mail message to include a button in it 
Khurram Mahmood




Posts: 1
Joined: 2006-12-02
We have a requirement to do the following -

1. When a user reads in an e-mail (in the reading pane), look for special tokens inside the e-mail that the backend system sends.

2. If the right tokens are present, insert an "Open" button inside the e-mail either in the header section or in the e-mail text

3. When the user clicks on the Open button, open the e-mail. That's where we have the Add-In express Inspector pane to show the right content.

How can I modify the existing e-mail to put a button and then perform a C# operation when that button is clicked? Couldn't find anything about this on the web. Do I need to modify the form dynamically? If yes, how?

Any help would be greatly appreciated.

Thank you,

K
Posted 02 Dec, 2006 00:25:26 Top
Fedor Shihantsov


Guest


Hello Khurram,

You can place BottomSubpane (it is ADXOlForm that will be placed between Grid and Reading Pane) that will contain a button.
By clicking on the button you can enable ADXOlFormsCollectionItem and open a selected item in a new inspector, then disable ADXOlFormsCollectionItem to prevent the Inspector Subpane from showing in Inspectors opened in the standard way.
You can control the activity of the buttom in the SelectionChange event.

Please, you can download the sample:
http://www.add-in-express.com/projects/adx-x-ol-open_selected_mailitem.zip

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 04 Dec, 2006 07:04:41 Top