Package | Description |
---|---|
io.vertx.ext.mail | |
io.vertx.reactivex.ext.mail | |
io.vertx.rxjava.ext.mail |
Modifier and Type | Method and Description |
---|---|
MailConfig |
MailConfig.setAllowRcptErrors(boolean allowRcptErrors)
set if sending allows rcpt errors
|
MailConfig |
MailConfig.setAuthMethods(String authMethods)
set string of allowed auth methods.
|
MailConfig |
MailConfig.setDisableEsmtp(boolean disableEsmtp)
set if ESMTP should be tried as first command (EHLO)
|
MailConfig |
MailConfig.setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols)
Sets the list of enabled SSL/TLS protocols.
|
MailConfig |
MailConfig.setHostname(String hostname)
Set the hostname of the smtp server.
|
MailConfig |
MailConfig.setKeepAlive(boolean keepAlive)
set if connection pool is enabled
default is true
|
MailConfig |
MailConfig.setKeyStore(String keyStore)
get the key store filename to be used when opening SMTP connections
|
MailConfig |
MailConfig.setKeyStorePassword(String keyStorePassword)
get the key store password to be used when opening SMTP connections
|
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.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 a non shared instance of the mail client.
|
static MailClient |
MailClient.createNonShared(Vertx vertx,
MailConfig config)
Deprecated.
use
MailClient.create(Vertx, MailConfig) instead |
static MailClient |
MailClient.createShared(Vertx vertx,
MailConfig config)
Like
MailClient.createShared(io.vertx.core.Vertx, MailConfig, String) but with the default pool name |
static MailClient |
MailClient.createShared(Vertx vertx,
MailConfig config,
String poolName)
Create a Mail client which shares its connection pool with any other Mail clients created with the same
pool name
|
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)
Create a non shared instance of the mail client.
|
static MailClient |
MailClient.createNonShared(Vertx vertx,
MailConfig config)
Deprecated.
|
static MailClient |
MailClient.createShared(Vertx vertx,
MailConfig config)
Like
MailClient.createShared(io.vertx.reactivex.core.Vertx, io.vertx.ext.mail.MailConfig, java.lang.String) but with the default pool name |
static MailClient |
MailClient.createShared(Vertx vertx,
MailConfig config,
String poolName)
Create a Mail client which shares its connection pool with any other Mail clients created with the same
pool name
|
Modifier and Type | Method and Description |
---|---|
static MailClient |
MailClient.create(Vertx vertx,
MailConfig config)
Create a non shared instance of the mail client.
|
static MailClient |
MailClient.createNonShared(Vertx vertx,
MailConfig config)
Deprecated.
|
static MailClient |
MailClient.createShared(Vertx vertx,
MailConfig config)
Like
MailClient.createShared(io.vertx.rxjava.core.Vertx, io.vertx.ext.mail.MailConfig, java.lang.String) but with the default pool name |
static MailClient |
MailClient.createShared(Vertx vertx,
MailConfig config,
String poolName)
Create a Mail client which shares its connection pool with any other Mail clients created with the same
pool name
|
Copyright © 2023 Eclipse. All rights reserved.