File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 19541
    
  16

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
 
wood burning stoves
 
subject: how to handle wrong to mail address while sending email.
 
Similar Threads
inline image for email from relative path
how to handle wrong to mail address while sending email.
Email to include signature
how to select root cause of exception from nested exception
Suppressing Applet alerts when using mail API