Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.