Author |
|
ptailang Newbie
Joined: 02 January 2009 Location: India
Online Status: Offline Posts: 1
|
Posted: 02 January 2009 at 5:33am | IP Logged
|
|
|
Hi,
We Can Identifify the bad mail which failed via the smtp server from the bad mail folder.
How can we find the mails which sent completely.
With out error.
Is there any way with custom headers or something else which can be implemented under mailbee object so that we can identify the completely sent mails.
Thanks
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 02 January 2009 at 7:49am | IP Logged
|
|
|
Interesting question, thanks :)
There are some techiniques but none will work 100% reliably. However the same is for detecting bad messages. When your SMTP server successfully relays an e-mail, this does not yet mean it was delivered. It simply means the target server agreed to relay it further. Most servers nowdays agree to relay even to non-existent recipients in their domain, Then, they send you a non-delivery e-mail.
This approach is used to prevent spammers from collecting good e-mail addresses by making millions of attempts to send to your server with all popular account names. Spammers will never know which addresses were ok as the server says "ok" for all addresses.
To track delivery or non-delivery of e-mails, you can use properties of Smtp.DeliveryNotification object. If you set mailer.DeliveryNotification.NotifyCondition = DsnNotifyCondition.Always (mailer is Smtp instance), the target server will always send you reply with the delivery status of your message. You can also specify unique mailer.DeliveryNotification.TrackingID for each e-mail which you can then find in the delivery status replies. This will allow you to link outgoing e-mails and delivery replies for them.
However, this will work only if ESMTP DSN extension is supported by the target server.
As I said above, there is no universal solution for this, mostly because of spammers which would use it if it existed.
Regards,
Alex
|
Back to Top |
|
|