Solved

Exchange 2010 - Change NDR message format to HTML?

Posted on 2012-04-02
10
1,640 Views
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?

Thanks.
0
Comment
Question by:gateguard
  • 5
  • 5
10 Comments
 
LVL 4

Expert Comment

by:sivanov
ID: 37799767
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.
0
 

Author Comment

by:gateguard
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?
0
 
LVL 4

Expert Comment

by:sivanov
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.
0
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.

 

Author Comment

by:gateguard
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?
0
 

Author Comment

by:gateguard
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
0
 
LVL 4

Expert Comment

by:sivanov
ID: 37804967
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
0
 

Author Comment

by:gateguard
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>
0
 
LVL 4

Accepted Solution

by:
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 ?
0
 

Author Closing Comment

by:gateguard
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.
0
 
LVL 4

Expert Comment

by:sivanov
ID: 37871399
you a very welcome
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In-place Upgrading Dirsync to Azure AD Connect
how to add IIS SMTP to handle application/Scanner relays into office 365.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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