简体   繁体   中英

Java mail: sending email without SMTP

I want to send an email without using SMTP protocol. Is that possible to implement using Java? Since, my remote machine does not have access to google, yahoo and other accounts. and even my office mail can not be configured using SMTP server due to some security issues. Is any other way to send an email from remote machine.

The JavaMail section at java.sun.com lists many third party products that plugin to the JavaMail API . Hopefully one of those will fit your needs but I can't be more specific because you don't say what non-SMTP sending options you have open to you.

您可以在远程计算机上设置自己的SMTP服务器,恕我直言,它比直接将其合并到程序中更好。

I want to send an email without using SMTP protocol. Is that possible to implement using Java?

  1. With Java you can implement any Layer-5 network protocol.

  2. ALL mail servers using SMTP to receive messages. At any time you have to connect with SMTP to the destination mail server.

If you cannot get out from local network to the Internet with some services you will need a proxy or network tunnel to connect the destination.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM