HOWTO Check failed emails

C

CMan

Hi,

I need to check emails from a web application. Is there a simple way for the
application to check whether an email arrived?

Thanks

C
 
C

CMan

Thanks for your response but I would also need to know if there were
failures going to valid email addresses.

C
 
R

Ray Booysen

Will said:
I don't know about that. But it is possible to check whether an e-mail
address is valid using a chatmail server.

VB .NET
http://www.15seconds.com/issue/030203.htm
Thats not a "chatmail" server, just connecting the the domain's MX
server and trying to see if the email is allowed to be sent there. If
the email is a correct email address, the domain's MX server should
allow it through.

But it opens another can of worms. What if the MX server is currently
down? What happens if it uses greylisting and initially will block an
incoming connection to reduce spam? This in my opinion is not the best
way of doing this.

Regards
Ray
 
R

Ray Booysen

Once the mail has left your smtp server, the only way to check if there
was a failure is to create a mailbox for the email address you are
setting as the FROM: parameter in the email. You can monitor the inbox
for bounces and log from there.

You have no control over what happens to the email once it leaves your
servers.

Hope this helps! :)
 
C

CMan

Thanks Ray,

Maybe the 'Grumpy Programmer' approach is to tell them to get the new kid to
check the mail box every morning :)

C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top