You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
have access to post topics
communicate privately with other members (PM)
not see advertisements between posts
have the possibility to earn one of our surprises if you are an active member
access many other special features that will be introduced later.
Im trying to send a mail which is failed so many times . Can some body show me with some examples of sending mail using java.
Can that be achieved without authentication ?
You do not need to authenticate if you can find an open mail relay server.
There is a lot of info if you google javamail. here is one spot. JavaMail quick start - Java World
I have only used mail with the Spring Framework and is simple as pie.
good luck.
Check these examples.. "Connecting GMail using POP3 connection with SSL" was working when i tested it. Others should work too if you configure Java Mail properly.