The Mother Board

Motherboards.org forums. Free tech support, motherboard ID, and more.
It is currently Sat Oct 20, 2018 7:02 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Apr 14, 2008 2:29 pm 
Offline
Initiate
Initiate

Joined: Wed Feb 16, 2005 8:19 am
Posts: 24
Is there any way to check if an email address actually exists before sending out a "form" email using Java mail?

I've got a form that needs to be sent out to an email address provided by the user, and I need to check if the email address exists, and if it doesn't return some kind of a error message.

So, any java pros that can help me, it would be much appreciated.

_________________
The Superior InferiorityImage


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 14, 2008 8:10 pm 
Offline
Black Belt 2nd Degree
Black Belt 2nd Degree

Joined: Mon Aug 09, 2004 7:33 pm
Posts: 2743
Location: Milwaukee - Wisconsin
if it "exists"? i don't think so. the only way to accomplish that is to actually send an email to the address, and see if you receive a reply from the admin(system) saying it's invalid.

the only way to validate that the information itself is valid is to do some string comparisons, finding the original (address) portion up to the @ symbol, then finding the remaining host information (i.e. hotmail) and then the affiliation (i.e. .com or .edu).

that will let you know whether it's a "valid" address...but not that it exists.

-Roach

_________________
Lian Li Lancool First Knight Series PC-K59W
Intel Core i7-960 Bloomfield 3.2GHz
EVGA X58 FTW3 132-GT-E768-TR
EVGA GeForce GTX 1070 FTW GAMING ACX 3.0
G.SKILL Ripjaws Series 12GB (3 x 4GB)
Crucial M4 128gb SATAIII SSD x2
Crucial M4 256gb SATAIII SSD
OCZ Saber 1000 960GB Enterprise SSD
Corsair Professional Series HX850 PSU
Dell UltraSharp U2713HM 27" w/drop ceiling mount
Logitech G930 7.1 Headset
DBPOWER RGB LED Keyboard
Logitech G402 Hyperion Fury


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 15, 2008 12:55 am 
why not have the receiver of the email click a validation link?


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 30, 2009 6:31 pm 
Offline
Pilgrim
Pilgrim

Joined: Wed Sep 30, 2009 6:04 pm
Posts: 6
As a previous poster said, the only way to really "check" if an email address exists is to email it and see what happens. If it doesn't exist, you'll get an email from the "mailer daemon" usually.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group