Home > Back-end >  How Java according to determine the email server and receiving server
How Java according to determine the email server and receiving server

Time:05-26

Personal E-mail and enterprise email can send mail, now USES the javaMail send mail, need according to your email address to confirm the sending and receiving server, is there any way to quickly locate a
For example:
Enterprise email: XXX @ feliciafay. Com feliciafay. Com domain name for the enterprise, USES the netease company mailbox,
The server is configured to: smtp.qiye.163.com and pop.qiye.163.com

In Java. What method can quickly by XXX @ feliciafay com positioning their mail server, because this mail for the customer input, under the great god answers please

CodePudding user response:

I'm afraid it is you want to you this requirement? Can't seem to realize that,

CodePudding user response:

Not you want to, I here inside the system integrates the function of email, if you want to mail can be normal use, must be determined according to the customer's email to send a server and a server address, otherwise can only allow customers to fill out

CodePudding user response:

Like foxmail, add account, enter the email address and password can be automatically help you set up a server and after receipt server, don't need to manually configure themselves

CodePudding user response:

I'm sorry, can't,
Email communication is not only the SMTP/pop3 protocol, mail server address also is not necessarily a protocol name + email suffixes, and these are look not to come out from the email address,

CodePudding user response:

The elder brothers, solved? I have the same problem

CodePudding user response:

reference m0_37913946 reply: 3/f
like foxmail, add account, enter the email address and password can be automatically help you set up a server and after receipt server, don't need to manually configure yourself
estimation is a common practice, such as the server address is mail.xx.com or smtp.mail.xx.com, then put 163 such common email service is added to the software, then foxmail software to help you to try to connect again, if it is their email service, SMTP service used to specify a particular domain, foxmail also don't know,
  • Related