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.

http://www.outlookcode.com/article.aspx?id=62

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
  Item.Save
  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.

http://stackoverflow.com/questions/9076634/outlook-2007-vba-to-get-reference-to-additional-inbox

share|improve this answer

You must log in to answer this question.

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