change mail format

Status
Not open for further replies.
A

Ashish

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.
 
K

Ken Slovak - [MVP - Outlook]

Use MailItem.BodyFormat and set the format to what you want.

"Ashish" <akohli_2004@hotmail.com> wrote in message

news:%23x13cBHiKHA.5520@TK2MSFTNGP06.phx.gbl...
> 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.
>
 
A

Ashish

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?
<kenslovak@mvps.org> wrote in message

news:unZ4hDJiKHA.1236@TK2MSFTNGP04.phx.gbl...
> Use MailItem.BodyFormat and set the format to what you want.

> >

>

> "Ashish" <akohli_2004@hotmail.com> wrote in message
> news:%23x13cBHiKHA.5520@TK2MSFTNGP06.phx.gbl...
> > 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.
> >

>
 
K

Ken Slovak - [MVP - Outlook]

You should be changing the format before that event, either on opening the

item or possibly in item_send.

"Ashish" <akohli_2004@hotmail.com> wrote in message

news:uaQhFuSiKHA.5608@TK2MSFTNGP05.phx.gbl...
> 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?
 
A

Ashish

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.
<kenslovak@mvps.org> wrote in message

news:%23kywO1ViKHA.2780@TK2MSFTNGP05.phx.gbl...
> You should be changing the format before that event, either on opening the
> item or possibly in item_send.

> >

>

> "Ashish" <akohli_2004@hotmail.com> wrote in message
> news:uaQhFuSiKHA.5608@TK2MSFTNGP05.phx.gbl...
> > 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?

>
 
K

Ken Slovak - [MVP - Outlook]

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.

"Ashish" <akohli_2004@hotmail.com> wrote in message

news:ubRM1ESjKHA.5020@TK2MSFTNGP02.phx.gbl...
> 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.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
D Mail Format Changes from HTML to RTF Upon Forward - How to change Outlook VBA and Custom Forms 7
A How to change message format while forwarding a mail Outlook VBA and Custom Forms 1
O On click,I want to change subject line of selected mail and then reply to particular email and move Using Outlook 3
Diane Poremsky To Change the Default E-mail Program in Windows Using Outlook 0
C Change From address while sending a new mail Outlook VBA and Custom Forms 5
David Rahrer Change default Junk E-Mail folder Using Outlook 6
Danny2015 how to change incoming mail conversationtopic successfully Outlook VBA and Custom Forms 6
K How to change status of a mail marked as a task (VBA) Outlook VBA and Custom Forms 2
B Macro to Change sort and collapse groups in Mail folder Outlook VBA and Custom Forms 9
M Change the account from sending e-mail Outlook VBA and Custom Forms 3
S how to add my custom items to "Change E-mail Account" dialog Outlook VBA and Custom Forms 1
V major issue in outlook "Change in forward mail also change selected mail " Outlook VBA and Custom Forms 1
A why outlook change forward mail Outlook VBA and Custom Forms 2
A How to change mail path in outlook Outlook VBA and Custom Forms 7
C How do I change the default character spacing in Outlook e-mail? Using Outlook 3
P Outlook 2016 Change Paste Special Default Format Using Outlook 8
whizzard Change FROM address based on TO or CC address Outlook VBA and Custom Forms 8
S Outlook 365 Can I change the possible range of highlighting colours when writing an Outlook email? Using Outlook 1
V Can one change the formatting of email title blocks? Using Outlook 0
S Unable to change Message Class Outlook VBA and Custom Forms 0
S New Outlook Appointment - Select All Body Text and Change Font and Size Outlook VBA and Custom Forms 1
J VBA Cannot programmatically input or change Value for User Defined field Using Outlook 1
C Outlook 365 Can you change the follow up colour? Using Outlook 1
A Change settings Send/receive VBA Outlook VBA and Custom Forms 0
E Outlook VBA change GetDefaultFolder dynamically Outlook VBA and Custom Forms 6
O What would be the recommended way to change an email address (family member)? Using Outlook 0
S Change "This Week" flag start date behavior Using Outlook 1
N Help creating a VBA macro with conditional formatting to change the font color of all external emails to red Outlook VBA and Custom Forms 5
D Change Microsoft Account password - what to do to update on all devices Using Outlook 4
S Outlook 2016 Change how Outlook shows me contacts in emails Using Outlook 0
witzker HowTo Change message Class of contact form Outlook VBA and Custom Forms 0
Z Outlook 365 delete reminder you can’t make change to contents of this-read only folder Using Outlook 4
witzker Pls help to change the code for inserting date in Ol contact body Outlook VBA and Custom Forms 5
R How to Change Margins In Google Docs...? Using Outlook 0
e_a_g_l_e_p_i Outlook 2010 How can I change the font size on right side appointment pane Using Outlook 12
diver864 vba for a rule to automatically accept meeting requests with 'vacation' in subject, change to all-day event, change to free, don't send reply Outlook VBA and Custom Forms 1
B Change Font and Font size using VBA Outlook VBA and Custom Forms 9
D Change senders title Using Outlook 1
W Recurrence: delete older occurrences / change earliest start time Outlook VBA and Custom Forms 0
E Change sending account depending on Subjectline Outlook VBA and Custom Forms 0
J Outlook 2013 Change color of text in data fields of contacts in Outlook 2013? Using Outlook 10
B Change row background color of selected item Using Outlook 1
PGSystemTester VBA To Change AppointmentItem.BusyStatus From MeetingItem Before Send Using Outlook 0
B Change from Address Outlook VBA and Custom Forms 0
X If you change expiration date of repeated task it dupplicates Using Outlook 1
E How to display "Change Folder" in Change Default Email Delivery Location in Exchange Outlook 2016 Using Outlook 1
Z See "Change View" Drop Down as a List? Using Outlook 1
V Change start time based on message duration Outlook VBA and Custom Forms 2
R Folder pane width change Using Outlook 89
S Change VBA script to send HTML email instead of text Outlook VBA and Custom Forms 3

Similar threads

Top