Link to home
Start Free TrialLog in
Avatar of gateguard
gateguard

asked on

Exchange 2010 - Change NDR message format to HTML?

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?

Thanks.
Avatar of sivanov
sivanov
Flag of Bulgaria image

PLease check if you are ussing valin DSN html tags:

http://technet.microsoft.com/en-us/library/bb125135.aspx

what about if the only html in the NDR is <b> hello </B>
Svet.
Avatar of gateguard
gateguard

ASKER

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?
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.
I'm getting errors trying to modify these.

How do I read these parameters to see what they are set at right now?
[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
hmmm

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


http://technet.microsoft.com/en-us/library/bb123506.aspx

http://technet.microsoft.com/en-us/library/bb124151.aspx
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>
ASKER CERTIFIED SOLUTION
Avatar of sivanov
sivanov
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
you a very welcome