Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Finding SMTP host and port knowing the e-mail address using JAVA API

Reply
Thread Tools

Finding SMTP host and port knowing the e-mail address using JAVA API

 
 
Andreea Andreea is offline
Junior Member
Join Date: Apr 2012
Posts: 1
 
      04-21-2012
0down votefavorite

share [g+]share [fb]share [tw]



I have a question and maybe you can help me. I made a simple application to send e-mails using Java API.

And I need to know if:

Is there any way to find out the SMTP host knowing the e-mail address of the one who will login to send an e-mail? And also the port?

For example, if the sender's e-mail address is , the SMTP host is smtp.gmail.com and the port 465. If the sender's e-mail address is , the SMTP host is smtp.yahoomail.com and the port 25.

Supposing I don't know this, is there any way to find this information using Java API classes?

Please note that I'm new in both JAVA and JAVA Api..

Thanks in advance,

Andreea
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Finding IP address of localhost via socket API (or other API) Timothy Grant Python 5 08-06-2008 03:35 AM
HTTP POST only knowing server IP and port number Vesna Sarajevo ASP .Net 1 07-30-2007 01:56 PM
Knowing the full path of the java executable/binary executing thecurrent java program Kaiser S. Java 3 07-12-2007 02:18 PM
Cisco PIX 501 - Port forwarded to an internal host via Static NAT doesn't work from internal host JoelSeph Cisco 9 01-23-2006 03:52 PM
Finding Server... Finding Host.... enough already!!! Leesa_Tay@softhome.net Computer Support 2 01-20-2006 10:23 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57