Exchange 2010 - Change NDR message format to HTML?

Posted on 2012-04-02
Last Modified: 2012-04-20
Exchange 2010 lets me put HTML tags into custom DSN messages but when those messages get sent in an NDR, the NDR is sent in plain text and the HTML is lost.

Is there a way to make the default format of my NDR messages HTML and not plain text?

Question by:gateguard
  • 5
  • 5

Expert Comment

ID: 37799767
PLease check if you are ussing valin DSN html tags:

what about if the only html in the NDR is <b> hello </B>

Author Comment

ID: 37800584
I tried just a single word surrounded by the bold tags as in your example but it doesn't matter because the message itself is delivered as PLAIN TEXT so tags get ignored.

My question is:

How can I set the default delivery of NDR messages in my Exchange 2010 organization to be HTML mail messages, not plain text messages?

Expert Comment

ID: 37801491
as far as i know NDR are just one of the DSN messages.

the link above says:

"By default, Exchange 2010 sends HTML DSN messages, but you can configure whether Exchange 2010 sends HTML DSN messages to internal senders, external senders, or both.
To configure this behavior, modify the InternalDsnSendHtml parameter and the ExternalDsnSendHtml parameter with the Set-TransportServer command.
If the InternalDsnSendHtml parameter is set to $false, Exchange 2010 suppresses HTML tags in DSN messages sent to internal senders. If the ExternalDsnSendHtml parameter is set to $false, Exchange 2010 suppresses HTML tags in DSN messages sent to external senders. "

might be a hint tocheck the parameter mentiond above.

Author Comment

ID: 37803619
I'm getting errors trying to modify these.

How do I read these parameters to see what they are set at right now?

Author Comment

ID: 37803666
[PS] C:\Users\test\Desktop>Set-TransportServer  -Identity server1 -InternalDsnSendHtml $True
A positional parameter cannot be found that accepts argument '-InternalDsnSendHtml'.
    + CategoryInfo          : InvalidArgument: (:) [Set-TransportServer], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Set-TransportServer
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails


Expert Comment

ID: 37804967

do you need the parameter "-identity" - i read that is is for multi-tenant hosting envirement ?
if yes most probably you need to execute to commands:

C:\Users\test\Desktop>Set-TransportServer  -Identity server1

C:\Users\test\Desktop>Set-TransportConfig -InternalDsnSendHtml $true

please check the linkg below

Author Comment

ID: 37808098
This is what I get and the result in the actual NDR doesn't change... still a text message:

[PS] C:\Users\test\Desktop>Set-TransportServer  -Identity SERVER1
WARNING: The command completed successfully but no settings of 'SERVER1' have been modified.
[PS] C:\Users\test\Desktop>Set-TransportConfig -InternalDsnSendHtml $true
WARNING: The command completed successfully but no settings of 'Transport Settings' have been modified.
[PS] C:\Users\test\Desktop>

Accepted Solution

sivanov earned 500 total points
ID: 37809814
well this should mean that the "-InternalDsnSendHtml" is set to  "$true" as expected by default.

do you exoperience this issues only for NDRs or with other types of the DSNs?

could you show a sample how you prepare the DSN ?

Author Closing Comment

ID: 37871385
I'm giving up on this one.  I personally don't care about the formatting, one of the managers here did.  The messages are otherwise doing their job and that's all I care about.

Sivanov, I thank you for all your help and I learned a lot from you working on this.

Expert Comment

ID: 37871399
you a very welcome

Featured Post

Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now