Verifying email addresses
I've been working on the app that manages workshop registrations here in the Learning Commons, and have been tackling one of the major problems in the current version - people can enter invalid email addresses, and may never even know they did it. They won't receive confirmation, and can't receive updates/modifications.
Often, these addresses are trivially incorrect (an errant space, a missing . or whatever).
Anyway, here is the code I whipped up for the app to attempt to verify the email address. It relies on the Java InetAddress class, and does a lookup of the hostname. If there's a machine at the hostname, I'll assume it's correct. (could get fancy and look up only MX records etc... but it's a start.)
I’ve had 6 video conferences today, using