Java org.apache.commons.net.smtp AuthSMTPClient fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.net.smtp AuthSMTPClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.net.smtp AuthSMTPClient.

The text is from its open source code.

Constructor

Method

booleanauth(String smtpUser, String smtpPass)
voidconnect(InetAddress host, int port)
Opens a Socket connected to a remote host at the specified port and originating from the current host at a system assigned port.
voiddisconnect()
Closes the connection to the SMTP server and sets to null some internal data so that the memory may be reclaimed by the garbage collector.
voidenableSSL(final boolean verify)
intgetReplyCode()
Returns the integer value of the reply code of the last SMTP reply.
StringgetReplyString()
Returns the entire text of the last SMTP server response exactly as it was received, including all end of line markers in NETASCII format.
booleanisConnected()
Returns true if the client is currently connected to a server.
booleanlogin()
voidsetConnectTimeout(int connectTimeout)
Sets the connection timeout in milliseconds, which will be passed to the Socket object's connect() method.
booleanstartTLS(final String hostname, final int port, final boolean verify)