wodPop3 ActiveX Control - DeliveryFailed Method
      
 

Description

Returns email address in delivery failed message.


Return Type

A String value.  


Syntax

object.DeliveryFailed



The DeliveryFailed Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Pop3Msg.

Remarks

DeliveryFailed method check the message and try to determine if it's coming from MAILER-DAEMON or POSTMASTER account, notifying you that it failed to deliver the message. Typically, these bounced messages have subject "Undelivered Mail Returned to Sender" or "Returned mail: see transcript for details", and messages look like this:

The original message was received at Sun, 25 Sep 2005 04:05:01 +0200
from some.host.com [111.22.33.44]

----- The following addresses had permanent fatal errors -----
<joe@usa.net>
(reason: 550 Invalid recipient: <joe@usa.net>)

----- Transcript of session follows -----
... while talking to some.host.com.:
>>> DATA
<<< 550 Invalid recipient: <joe@usa.net>
550 5.1.1 <joe@usa.net>... User unknown
<<< 503 No recipients specified

 

When such message is found, wodPop3 will try to find email address of person that failed to receive the message. This is very handy if you work with mailing lists and need to remove such emails from your local database.