Chilkat Email Components Home

Diagnostic-Code Header Field - A Per-Recipient DSN Field

Back

The Diagnostic-Code header field is found in delivery-status-notification emails. An example of a DSN with 2 failed recipients is shown at the bottom of this page.
   For a "failed" or "delayed" recipient, the Diagnostic-Code DSN field
   contains the actual diagnostic code issued by the mail transport.
   Since such codes vary from one mail transport to another, the
   diagnostic-type subfield is needed to specify which type of
   diagnostic code is represented.

     diagnostic-code-field =
          "Diagnostic-Code" ":" diagnostic-type ";" *text

   NOTE:  The information in the Diagnostic-Code field may be somewhat
   redundant with that from the Status field.  The Status field is
   needed so that any DSN, regardless of origin, may be understood by
   any user agent or gateway that parses DSNs.  Since the Status code
   will sometimes be less precise than the actual transport diagnostic
   code, the Diagnostic-Code field is provided to retain the latter
   information.  Such information may be useful in a trouble ticket sent
   to the administrator of the Reporting MTA, or when tunneling foreign
   nondelivery reports through DSNs.

   If the Diagnostic Code was obtained from a Remote MTA during an
   attempt to relay the message to that MTA, the Remote-MTA field should
   be present.  When interpreting a DSN, the presence of a Remote-MTA
   field indicates that the Diagnostic Code was issued by the Remote
   MTA.  The absence of a Remote-MTA indicates that the Diagnostic Code
   was issued by the Reporting MTA.

   In addition to the Diagnostic-Code itself, additional textual
   description of the diagnostic, MAY appear in a comment enclosed in
   parentheses.

   This field is optional, because some mail systems supply no
   additional information beyond that which is returned in the 'action'
   and 'status' fields.  However, this field SHOULD be included if
   transport-specific diagnostic information is available.

Return-Path: <>
Delivered-To: admin@chilkatsoft.com
Received: (qmail 11299 invoked by uid 200); 13 Sep 2006 23:28:53 -0000
Delivered-To: support@chilkatsoft.com
Received: (qmail 11288 invoked from network); 13 Sep 2006 23:28:53 -0000
X-Spam-DCC: xinternal: xmail04 1323; Body=1 Fuz1=1 Fuz2=1
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on 
	xmail04.myhosting.com
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 hits=-0.7 required=5.0 tests=BAYES_00,
	MSGID_MULTIPLE_AT autolearn=no version=3.1.0
X-Spam-Pyzor: 
Received: from unknown (HELO rwcrmhc12.comcast.net) ([216.148.227.152])
          (envelope-sender <>)
          by xmail04.myhosting.com (qmail-ldap-1.03) with SMTP
          for <support@chilkatsoft.com>; 13 Sep 2006 23:28:52 -0000
Received: from rwcrmhc12.comcast.net (localhost[127.0.0.1])
          by comcast.net (rwcrmhc12) with ESMTP
          id <20060913232852m1200qqk3je>; Wed, 13 Sep 2006 23:28:52 +0000
From: Mail Delivery Subsystem <mailer-daemon@comcast.net>
Subject: Returned mail: delivery problems encountered
Message-Id: <20060913232852m12006pi00e@A@000000000000@comcast.net>
Date: 13 Sep 2006 23:28:52 +0000
To: <support@chilkatsoft.com>
Mime-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status; boundary="_45089434.1b32.0+comcast.net=_"

--_45089434.1b32.0+comcast.net=_
Content-Type: text/plain

A message (from <support@chilkatsoft.com>) was received at 13 Sep 2006 23:28:50 +0000.

The following addresses had delivery problems:

<ajsfdlkjasdglkjadsg@tagtooga.com>
	Permanent Failure: 550_Requested_action_not_taken:_mailbox_unavailable_or_not_local
	Delivery last attempted at Wed, 13 Sep 2006 23:28:51 -0000

<asgfafdsga8fgsfdgk@tagtooga.com>
	Permanent Failure: 550_Requested_action_not_taken:_mailbox_unavailable_or_not_local
	Delivery last attempted at Wed, 13 Sep 2006 23:28:51 -0000

--_45089434.1b32.0+comcast.net=_
Content-Type: message/delivery-status

Reporting-MTA: dns; comcast.net
Arrival-Date: 13 Sep 2006 23:28:50 +0000

Final-Recipient: rfc822; <ajsfdlkjasdglkjadsg@tagtooga.com>
Action: failed
Status: 5.0.0 550_Requested_action_not_taken:_mailbox_unavailable_or_not_local
Diagnostic-Code: smtp; Permanent Failure: Other undefined Status
Last-Attempt-Date: Wed, 13 Sep 2006 23:28:51 -0000

Final-Recipient: rfc822; <asgfafdsga8fgsfdgk@tagtooga.com>
Action: failed
Status: 5.0.0 550_Requested_action_not_taken:_mailbox_unavailable_or_not_local
Diagnostic-Code: smtp; Permanent Failure: Other undefined Status
Last-Attempt-Date: Wed, 13 Sep 2006 23:28:51 -0000

--_45089434.1b32.0+comcast.net=_
Content-Type: message/rfc822

Received: from dotnet.chilkatsoft.com (c-67-167-114-82.hsd1.il.comcast.net[67.167.114.82])
          by comcast.net (rwcrmhc12) with SMTP
          id <20060913232849m1200rp84je>; Wed, 13 Sep 2006 23:28:50 +0000
Message-Id: <6.2.1.2.0.20060913182833.07846eb0@mail.chilkatsoft.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2
Date: Wed, 13 Sep 2006 18:28:48 -0500
To: ajsfdlkjasdglkjadsg@tagtooga.com,asgfafdsga8fgsfdgk@tagtooga.com
From: Chilkat Software <support@chilkatsoft.com>
Subject: test
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed; x-avg-checked=avg-ok-40F36D91

	test


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/446 - Release Date: 9/12/2006



--_45089434.1b32.0+comcast.net=_--