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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In this video we show how to create a Distribution Group 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 Recipients >>…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

738 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