PHP Classes

invalid email

Recommend this page to a friend!

      SMTP4PHP  >  All threads  >  invalid email  >  (Un) Subscribe thread alerts  
Subject:invalid email
Summary:invalid email
Messages:3
Author:mohamed wael
Date:2012-12-25 13:52:24
Update:2012-12-30 23:20:51
 

 


  1. invalid email   Reply   Report abuse  
Picture of mohamed wael mohamed wael - 2012-12-25 13:52:24
how to know that their email is not received because the email is invalid?
valid syntax but not valid existence as test@test.test is syntactically valid but not valid in existence!

  2. Re: invalid email   Reply   Report abuse  
Picture of Raul IONESCU Raul IONESCU - 2012-12-30 23:15:21 - In reply to message 1 from mohamed wael
There are 2 methods, both to be run on to the mail hosting server of the recipient.

1. Using "VRFY" SMTP command (but usually this is turned off for security reasons)

2. If the previous method fails, try to send a mail and quit after reading "rcpt to:" command's response (code 550 means the address does not exists); neither this method is fail proof.

Either way there are no 100% sure methods.

I have no intent to add non-accurate and time consuming methods to my class.

  3. Re: invalid email   Reply   Report abuse  
Picture of Raul IONESCU Raul IONESCU - 2012-12-30 23:20:51 - In reply to message 1 from mohamed wael
PS:

If you want to be informed that your SENT mail failed to reach destination because of an nonexistent e-mail address, you should use "ReturnPath" property.