Solved

Outlook issue

Posted on 2010-08-19
7
254 Views
Last Modified: 2013-02-10
One of the user in our company is facing issue in outlook , some time when he replies on any mail his signature format got change its due to sender mail format. Then user has to change his mailformat(HTML,Rich Text) for that mail, user is getting frustrate by doing this manual task.

Is there any option so whenever user will reply on any mail the mail format will be constant as defined by user.
0
Comment
Question by:Abhishek_Anand
  • 2
  • 2
7 Comments
 
LVL 2

Accepted Solution

by:
nycynik earned 125 total points
ID: 33481028
You can use this macro to make outlook work like You need it to.
Specify if You want to reply in plain or HTML format.
Put this macro in VBS editor into ThisOutlookSession

Choose if you want to reply in HTML or plain text in this line:
   'olFormat = olFormatPlain        '(*1) - always use plain text
   olFormat = olFormatHTML        '(*2) - always use HTML

In this case, reply, forward, reply to all is generated in HTML.

If You want it to be in plain, just make it like this:
   olFormat = olFormatPlain        '(*1) - always use plain text
   'olFormat = olFormatHTML        '(*2) - always use HTML

\\\macro - begin///

Option Explicit

Private WithEvents oExpl As Explorer
Private WithEvents oItem As MailItem

Private bDiscardEvents As Boolean
Private olFormat As OlBodyFormat


Private Sub Application_Startup()
   
   Set oExpl = Application.ActiveExplorer
   
   bDiscardEvents = False
   
   'olFormat = olFormatPlain        '(*1) - uz.ywaj zawsze formatu "zwyk?y tekst"
   olFormat = olFormatHTML        '(*2) - uz.ywaj zawsze formatu HTML
   
End Sub

Private Sub oExpl_SelectionChange()

   On Error Resume Next
   Set oItem = oExpl.Selection.Item(1)
   
End Sub

' (*3) Uz.ytkownik wybra? polecenie "Odpowiedz"
Private Sub oItem_Reply(ByVal Response As Object, Cancel As Boolean)

   If bDiscardEvents Or oItem.BodyFormat = olFormat Then
       Exit Sub
   End If
   
   '(*4) Anuluj domys'lna; akcje;
   Cancel = True

   bDiscardEvents = True
   
   ' (*5) Utwo'rz odpowiedz' na wiadomos'c' w formacie tekstowym
   Dim oResponse As MailItem
   Set oResponse = oItem.Reply
   oResponse.BodyFormat = olFormat
   oResponse.Display
   
   bDiscardEvents = False
   
End Sub

' (*6) Uz.ytkownik wybra? polecenie "Odpowiedz wszystkim"
Private Sub oItem_ReplyAll(ByVal Response As Object, Cancel As Boolean)

   If bDiscardEvents Or oItem.BodyFormat = olFormat Then
       Exit Sub
   End If

   Cancel = True
 
   bDiscardEvents = True
   
   Dim oResponse As MailItem
   Set oResponse = oItem.ReplyAll
   oResponse.BodyFormat = olFormat
   oResponse.Display
   
   bDiscardEvents = False
   
End Sub

' (*7) Uz.ytkownik wybra? polecenie "Przes'lij dalej"
Private Sub oItem_Forward(ByVal Forward As Object, Cancel As Boolean)
   
   If bDiscardEvents Or oItem.BodyFormat = olFormat Then
       Exit Sub
   End If
   
   Cancel = True

   bDiscardEvents = True
   
   Dim oResponse As MailItem
   Set oResponse = oItem.Forward
   oResponse.BodyFormat = olFormat
   oResponse.Display
   
   bDiscardEvents = False
   
End Sub

\\\macro -end ///
0
 
LVL 2

Expert Comment

by:nycynik
ID: 33481035
I also should say, there is no option to force it to reply in HTML, but there is this macro.
0
 

Author Comment

by:Abhishek_Anand
ID: 33602231
we tried that but still no luck
0
 
LVL 25

Expert Comment

by:Diverse IT
ID: 37933777
Hi Abhishek_Anand!

This is occurring by design...if the send sends you an email from plain text and you have it set to send in HTML it will match the mail format of the sender's message.

This option costs $29, but it works! http://www.emailaddressmanager.com/outlook/format.html
0
 
LVL 25

Assisted Solution

by:Diverse IT
Diverse IT earned 125 total points
ID: 37933806
Here is another option...use Hotkeys (free) to change it in 1 keystroke or mouse click. http://www.autohotkey.com/
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question