PC Review


Reply
Thread Tools Rate Thread

change mail format

 
 
Ashish
Guest
Posts: n/a
 
      29th Dec 2009
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.


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      29th Dec 2009
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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.
>


 
Reply With Quote
 
Ashish
Guest
Posts: n/a
 
      30th Dec 2009
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]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> 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.
>>

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      30th Dec 2009
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?


 
Reply With Quote
 
Ashish
Guest
Posts: n/a
 
      4th Jan 2010
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]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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?

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      4th Jan 2010
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change e-mail format =?Utf-8?B?QmxhY2snbidXaGl0ZQ==?= Microsoft Outlook Form Programming 1 30th Dec 2005 09:33 PM
How do I change mail format? =?Utf-8?B?bWFydGlu?= Microsoft Outlook Discussion 1 7th Dec 2004 09:14 PM
Change Mail Format potocki Microsoft Outlook Program Addins 1 1st Jun 2004 06:25 PM
Mail Receiver cannot to change the mail format Veronica Microsoft Outlook 3 25th May 2004 09:44 AM
Change format of the mail gautam Microsoft Outlook Form Programming 0 23rd Oct 2003 10:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:30 AM.