Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java mail: sending email without SMTP

Tags:

java

email

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.

like image 958
Mohamed Saligh Avatar asked Nov 29 '10 09:11

Mohamed Saligh


2 Answers

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.

like image 142
Richm Avatar answered Oct 22 '22 15:10

Richm


You could setup Your own SMTP server on remote machine, IMHO, it is better than incorporate it into program directly.

like image 32
barti_ddu Avatar answered Oct 22 '22 16:10

barti_ddu