Beispiel #1
0
 /// <summary>
 /// Provides the appropriate MTA-name-type value for the <paramref name="type"/>
 /// </summary>
 /// <param name="type">The MTA-name-type to translate</param>
 /// <returns>A string representation suitable for MTA-name-type header value</returns>
 public static string AsString(this DSNStandard.MtaNameType type)
 {
     return(DSNStandard.ToString(type));
 }
Beispiel #2
0
 ///<summary>
 /// Initializes an instance
 ///</summary>
 ///<param name="reportingMta">The reporting MTA message</param>
 ///<param name="originalMessageId">The original message id</param>
 ///<param name="mtaNameType">The MTA type</param>
 public DSNMessageHeaders(string reportingMta, string originalMessageId, DSNStandard.MtaNameType mtaNameType)
 {
     this.reportingMta      = reportingMta;
     this.originalMessageId = originalMessageId;
     this.mtaNameType       = mtaNameType;
 }
Beispiel #3
0
 ///<summary>
 /// Initializes an instance
 ///</summary>
 ///<param name="reportingMta">The reporting MTA message</param>
 ///<param name="originalMessageId">The original message id</param>
 ///<param name="mtaNameType">The MTA type</param>
 public DSNMessageHeaders(string reportingMta, string originalMessageId, DSNStandard.MtaNameType mtaNameType)
 {
     this.reportingMta = reportingMta;
     this.originalMessageId = originalMessageId;
     this.mtaNameType = mtaNameType;
 }