aspose file tools*
The moose likes Java in General and the fly likes how to handle wrong to mail address while sending email.   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

how to handle wrong to mail address while sending email.

ravi pardeshi
Greenhorn

Joined: Jan 13, 2009
Posts: 23
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

Joined: Oct 27, 2005
Posts: 19722
    
  20

Please http://faq.javaranch.com/java/UseOneThreadPerQuestion

Let's continue here.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: how to handle wrong to mail address while sending email.