The following example show you how to send email using Gmail SMTP via TLS connection. The
The configuration / properties used for connection to the Gmail SMTP is defined in the
Let's see the code snippet below: more...
FURTHER READING
username
and password
is use to authenticate you against the Gmail.The configuration / properties used for connection to the Gmail SMTP is defined in the
createConfiguration()
method. The properties include information such as the SMTP host address, port number, etc.Let's see the code snippet below: more...
FURTHER READING
No comments:
Post a Comment