|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mail status report
Dear All,
I use CDONTS to send out my mail. But I want it to report me whether it can successful delivery or not. I want it both delivery report and non delivery report. Does this object has property to do that ? or Could you please suggest me other componets that have these feature? Thanks in advance mDev |
|
#2
|
|||
|
|||
|
Nope, that isn't the nature of email in general. When ever you send an email somewhere, if the message was undeliverable then you'll get something back from the mailer daemon saying that the user couldn't be found on that server. SMTP is just that, simple mail transfer. However, messages that are undeliverable are put in C:\Inetpub\mailroot\Badmail, perhaps you could check that folder for your message and see if it got sent. The problem is i doubt that between the time your email is sent and you check the bad mail folder. Sending an email is slower than executing an asp page in relation. Anyhow, if you are looking for some mail apps that are a little more robust then CDONTS, check out www.aspobjects.com. and go to the compoents/dll's section, they have lots of them
|
|
#3
|
|||
|
|||
|
In the same boat
I also struggled with the same problem for a while trying to find a way to somehow trap error messages adn get some status report on the results of sending a message via CDONTS. I think 'imbrokn' is right - email is a "connectionless" system, as network engineers would say - you just send it out, and from there - whether it gets there... if you get a message saying "user not found", you are lucky.
However, to add to what has been said - I learned that problematic messages are placed into the c:\inetpub\mailroot\Drop\ folder. These are messages that have a mal-formed "To" address (for example, if you attempt to send to "38383" - this is a mal-formed email address.). But the messages that have syntactically correct "To' addresses but have other problems (invalid user, non-existent domain) are not saved there... And I still haven't found a way to gracefully do this, besides going through the long lists of returned mail (our company does mass emails to our customers, and the lists of returned mail can be very long - hundreds, if not thousands of addresses). |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Mail status report |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|