![]() |
change mail format
can we change mail format when send a mail. Plain text/html/rich text use
for mail format. I think _MailItem class does not provide this utility. |
change mail format
Use MailItem.BodyFormat and set the format to what you want.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... can we change mail format when send a mail. Plain text/html/rich text use for mail format. I think _MailItem class does not provide this utility. |
change mail format
Thanks, MailItem.BodyFormat works fine.
If i send a mail (have image in body) using rich text format and change format for html in application_send event then image is lost. Is there any solution for that or i need to convert this mail from rtf to html format on exchange server. Is there any fuction available for this task? "Ken Slovak - [MVP - Outlook]" wrote in message ... Use MailItem.BodyFormat and set the format to what you want. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... can we change mail format when send a mail. Plain text/html/rich text use for mail format. I think _MailItem class does not provide this utility. |
change mail format
You should be changing the format before that event, either on opening the
item or possibly in item_send. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... Thanks, MailItem.BodyFormat works fine. If i send a mail (have image in body) using rich text format and change format for html in application_send event then image is lost. Is there any solution for that or i need to convert this mail from rtf to html format on exchange server. Is there any fuction available for this task? |
change mail format
If i change the format from rich text to html in item_send then image is
lost. There is no use of change in item_open because before sending the mail i can change it back to rich text. "Ken Slovak - [MVP - Outlook]" wrote in message ... You should be changing the format before that event, either on opening the item or possibly in item_send. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... Thanks, MailItem.BodyFormat works fine. If i send a mail (have image in body) using rich text format and change format for html in application_send event then image is lost. Is there any solution for that or i need to convert this mail from rtf to html format on exchange server. Is there any fuction available for this task? |
change mail format
There is no BeforeSend() event, so if Send() is too late and Open() or
Activate() are too early then I have no other suggestions for you. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... If i change the format from rich text to html in item_send then image is lost. There is no use of change in item_open because before sending the mail i can change it back to rich text. |
All times are GMT +1. The time now is 12:25 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