Ejemplo n.º 1
0
        internal DSNPerRecipient(HeaderCollection fields)
        {
            //
            // Required Fields
            //
            Action         = (DSNStandard.DSNAction)Enum.Parse(typeof(DSNStandard.DSNAction), fields.GetValue(DSNStandard.Fields.Action), true);
            Status         = fields.GetValue((DSNStandard.Fields.Status));
            FinalRecipient = DSNParser.ParseFinalRecipient(fields.GetValue((DSNStandard.Fields.FinalRecipient)));

            //
            // Optional Fields
            //
            HeaderCollection otherFields = new HeaderCollection();

            otherFields.Add(fields, DSNStandard.PerRecipientOptionalFields);
            OtherFields = otherFields;
        }
Ejemplo n.º 2
0
 internal DSNPerMessage(HeaderCollection fields)
 {
     ReportingMtaName  = DSNParser.ParseReportingMTA(fields.GetValue(DSNStandard.Fields.ReportingMTA));
     OriginalMessageId = fields.GetValue((DSNStandard.Fields.OriginalMessageID));
 }