Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   image icon in mail item (http://www.outlookbanter.com/add-ins-outlook/37326-image-icon-mail-item.html)

rakesh agarwal January 10th 07 08:38 AM

image icon in mail item
 
Hi All

I am building an application which reads the contents of the mail . I
made it success fully .

I have a problem when the mail is successfully read i want to change the
mail icon ( envelop image ) to a image which is in my system

Is it possible to do ?

REgards
Rakesh Agarwal

searching for this answer :)


Ken Slovak - [MVP - Outlook] January 10th 07 03:16 PM

image icon in mail item
 
No, not really.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"rakesh agarwal" rakesh wrote in message
...
Hi All

I am building an application which reads the contents of the mail . I
made it success fully .

I have a problem when the mail is successfully read i want to change the
mail icon ( envelop image ) to a image which is in my system

Is it possible to do ?

REgards
Rakesh Agarwal

searching for this answer :)



T-rev March 15th 07 04:31 PM

image icon in mail item
 
There are a couple of ways to do this, but the easiest would be to implement
your own application class for mails. Like a form.
Eg. have a form with your new icon in it as default icon, then when you read
the contents change the messageClass on that item to be your new form
messageClass.
Ie. IPM.Note.MyForm
It will now appear with your icon - this is the easiest way to achieve this.

"rakesh agarwal" rakesh wrote in message
...
Hi All

I am building an application which reads the contents of the mail . I
made it success fully .

I have a problem when the mail is successfully read i want to change the
mail icon ( envelop image ) to a image which is in my system

Is it possible to do ?

REgards
Rakesh Agarwal

searching for this answer :)




Ken Slovak - [MVP - Outlook] March 17th 07 07:15 PM

image icon in mail item
 
Of course that modifies the MessageClass of the item but it is the only way
in Outlook 2003 or earlier to do it without using a lower level API such as
CDO or Extended MAPI or Redemption. In Outlook 2007 it can be done using the
PropertyAccessor object.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"T-rev" wrote in message
...
There are a couple of ways to do this, but the easiest would be to
implement your own application class for mails. Like a form.
Eg. have a form with your new icon in it as default icon, then when you
read the contents change the messageClass on that item to be your new form
messageClass.
Ie. IPM.Note.MyForm
It will now appear with your icon - this is the easiest way to achieve
this.

"rakesh agarwal" rakesh wrote in
message ...
Hi All

I am building an application which reads the contents of the mail . I
made it success fully .

I have a problem when the mail is successfully read i want to change the
mail icon ( envelop image ) to a image which is in my system

Is it possible to do ?

REgards
Rakesh Agarwal

searching for this answer :)






All times are GMT +1. The time now is 08:42 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com