| Package | Description |
|---|---|
| io.vertx.ext.mail | |
| io.vertx.rxjava.ext.mail |
| Modifier and Type | Method and Description |
|---|---|
MailConfig |
MailConfig.setAuthMethods(String authMethods)
set string of allowed auth methods.
|
MailConfig |
MailConfig.setHostname(String hostname)
Set the hostname of the smtp server.
|
MailConfig |
MailConfig.setIdleTimeout(int idleTimeout)
set the timeout for idle smtp connections (in seconds)
if not set, the default is 300 seconds
|
MailConfig |
MailConfig.setKeepAlive(boolean keepAlive)
set if connection pool is enabled
default is true
|
MailConfig |
MailConfig.setLogin(LoginOption login)
Set the login mode for the connection.
|
MailConfig |
MailConfig.setMaxPoolSize(int maxPoolSize)
set the max allowed number of open connections to the mail server
if not set the default is 10
|
MailConfig |
MailConfig.setNetClientOptions(NetClientOptions netClientOptions)
set the NetClientOptions to be used when opening SMTP connections
|
MailConfig |
MailConfig.setOwnHostname(String ownHostname)
set the hostname to be used for HELO/EHLO and the Message-ID
|
MailConfig |
MailConfig.setPassword(String password)
Set the password for the login.
|
MailConfig |
MailConfig.setPort(int port)
Set the port of the smtp server.
|
MailConfig |
MailConfig.setSsl(boolean ssl)
Set the sslOnConnect mode for the connection.
|
MailConfig |
MailConfig.setStarttls(StartTLSOptions starttls)
Set the tls security mode for the connection.
|
MailConfig |
MailConfig.setTrustAll(boolean trustAll)
set whether to trust all certificates on ssl connect the option is also
applied to STARTTLS operation
|
MailConfig |
MailConfig.setUsername(String username)
Set the username for the login.
|
| Modifier and Type | Method and Description |
|---|---|
static MailClient |
MailClient.create(Vertx vertx,
MailConfig config)
create an instance of MailClient that is running in the local JVM
|
| Constructor and Description |
|---|
MailConfig(MailConfig other)
copy config object from another MailConfig object
|
| Modifier and Type | Method and Description |
|---|---|
static MailClient |
MailClient.create(Vertx vertx,
MailConfig config) |
Copyright © 2015. All Rights Reserved.