Hi,

I have written a java program which uses the Javamail API to send an email
to a mailing list held in a database. A lot of these email addresses have
been either typed in incorrectly or are rubbish (like crap@crap.com). When
I run my mailout program I get hundreds of 'bounced' emails coming back from
the mail server.

Does anyone know of a way in which I can check to see if an email address
is valid, I have tried lots of different ways to do this. I know there are
perl & C scripts which mail servers use to check the existance of an MX record
on a particular domain - does anything like this exist in Java ?

Help ?

Dan