Bookmark Topic Watch Topic
  • New Topic

how to handle wrong to mail address while sending email.

 
ravi pardeshi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Report post to moderator
How to validate SMTP check while sending an Email.




if we give "abc@gmail111.com" then it is showing exception "Wrong To Mail address." but if we give "abc@gmail.com" then it is not giving any exception and it shows mail send. but is is non existing mail id. so can you please tell me how to validate SMTP check
i have a code for this validation but that one is in .NET

http://www.coveryourasp.com/ValidateEmail.asp#Result3

http://www.coveryourasp.com/ShowSource.asp?page=ValidateEmail

please reply.

Thanks,
-Ravi.
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please http://faq.javaranch.com/java/UseOneThreadPerQuestion

Let's continue here.
 
    Bookmark Topic Watch Topic
  • New Topic