A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Script to change the Format to HTML when replying/forwarding mails



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 13th 08, 10:13 AM posted to microsoft.public.outlook.program_vba
Vampire
external usenet poster
 
Posts: 2
Default Script to change the Format to HTML when replying/forwarding mails

Hi All,

I am trying to automate my manual task of changing to mail format to HTML
when replying/forwarding a Text/RichText Mail item. I am using Outlook 2007.
Can someone please post such script that could do this task.

Thanks in advance!!
  #2  
Old October 13th 08, 10:40 AM posted to microsoft.public.outlook.program_vba
Vince Averello
external usenet poster
 
Posts: 621
Default Script to change the Format to HTML when replying/forwarding mails

Apologies for not actually answering your question but...

If someone is sending you mail in Plain Text format, that might indicate
that they either prefer it that way or can't read HTML mail. Maybe you
shouldn't change the format to HTML on those...

"Vampire" wrote in message
...
Hi All,

I am trying to automate my manual task of changing to mail format to HTML
when replying/forwarding a Text/RichText Mail item. I am using Outlook
2007.
Can someone please post such script that could do this task.

Thanks in advance!!


  #3  
Old October 13th 08, 02:10 PM posted to microsoft.public.outlook.program_vba
Vampire
external usenet poster
 
Posts: 2
Default Script to change the Format to HTML when replying/forwarding m

Thanks for your reply Vince..

I am new to Outlook Programming and exploring things.. Please help me with
a Script if you can..

"Vince Averello" wrote:

Apologies for not actually answering your question but...

If someone is sending you mail in Plain Text format, that might indicate
that they either prefer it that way or can't read HTML mail. Maybe you
shouldn't change the format to HTML on those...

"Vampire" wrote in message
...
Hi All,

I am trying to automate my manual task of changing to mail format to HTML
when replying/forwarding a Text/RichText Mail item. I am using Outlook
2007.
Can someone please post such script that could do this task.

Thanks in advance!!


  #4  
Old October 23rd 08, 06:24 PM posted to microsoft.public.outlook.program_vba
JP[_3_]
external usenet poster
 
Posts: 201
Default Script to change the Format to HTML when replying/forwarding m

Sorry to pile on, but I agree with Vince. The recipient might be
writing on a mobile device that doesn't handle HTML emails well, or
they might be using a different mail reader that doesn't render HTML
properly. It's rude to force your preferences on others.

http://www.outlook-tips.net/beginner/replyformat.htm

--JP


On Oct 13, 9:10*am, Vampire wrote:
Thanks for your reply Vince..

I am new to Outlook Programming and exploring things.. Please help me with *
a Script if you can..



"Vince Averello" wrote:
Apologies for not actually answering your question but...


If someone is sending you mail in Plain Text format, that might indicate
that they either prefer it that way or can't read HTML mail. Maybe you
shouldn't change the format to HTML on those...


"Vampire" wrote in message
...
Hi All,


I am trying to automate my manual task of changing to mail format to HTML
when replying/forwarding a Text/RichText Mail item. I am using Outlook
2007.
Can someone please post such script that could do this task.


Thanks in advance!!- Hide quoted text -


- Show quoted text -


  #5  
Old October 21st 08, 01:08 PM posted to microsoft.public.outlook.program_vba
Alan Moseley
external usenet poster
 
Posts: 61
Default Script to change the Format to HTML when replying/forwarding mails

This text has no error checking in it, but if you run this when you have an
email open, it should create a reply and change the format to HTML:-

Public Sub MyReply
Dim msg As MailItem
Dim rpl As MailItem
Set msg = Application.ActiveInspector.CurrentItem
Set rpl = msg.reply
rpl.BodyFormat = olFormatHTML
rpl.Display
Set rpl = Nothing
Set msg = Nothing
End Sub

You can modify the code for forwards by changing set
rpl=msg.Reply
to
set rpl=msg.Forward

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk


"Vampire" wrote:

Hi All,

I am trying to automate my manual task of changing to mail format to HTML
when replying/forwarding a Text/RichText Mail item. I am using Outlook 2007.
Can someone please post such script that could do this task.

Thanks in advance!!

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
In Outlook 2007, How to change default email format from HTML to t kmcorrell Outlook - Installation 1 September 27th 08 05:32 AM
Forwarding and replying mails ragz4ragz Outlook and VBA 3 June 25th 07 12:27 PM
cannot read mails in HTML Format Alper Ozgur Outlook - General Queries 1 March 20th 07 11:28 AM
mail format to plain text autom., when replying to rtf or html mai Martinez Outlook - Installation 2 April 13th 06 08:01 PM
Random font change when replying to or forwarding mails in Outlook Express Outlook Express 1 March 31st 06 11:13 AM


All times are GMT +1. The time now is 05:04 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-2025 Outlook Banter.
The comments are property of their posters.