Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have about 5 email boxes setup in Outlook 2013. I want all incoming emails sent in html to be converted to plaint text, only for one particular mailbox. How can this be achieved? I already know that there is a global option to turn this on, but I only want it for one box in particular.

share|improve this question

You can do this with VBA.

Private WithEvents olInboxItems As Items

Private Sub Application_Startup()
  Dim objNS As NameSpace
  Set objNS = Application.Session
  ' instantiate objects declared WithEvents
  Set olInboxItems = objNS.GetDefaultFolder(olFolderInbox).Items
  Set objNS = Nothing
End Sub

Private Sub olInboxItems_ItemAdd(ByVal Item As Object)
  On Error Resume Next
  Item.BodyFormat = olFormatPlain
  Set Item = Nothing
End Sub

This line likely has to change.

Set olInboxItems = objNS.GetDefaultFolder(olFolderInbox).Items

You reference the non default inbox like this.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .