Uses of Class
io.vertx.ext.mail.MailConfig
Packages that use MailConfig
Package
Description
-
Uses of MailConfig in io.vertx.ext.mail
Methods in io.vertx.ext.mail that return MailConfigModifier and TypeMethodDescriptionMailConfig.addCrlPath(String crlPath) MailConfig.addCrlValue(Buffer crlValue) MailConfig.addDKIMSignOption(DKIMSignOptions dkimSignOptions) Adds a DKIMSignOptions.MailConfig.addEnabledCipherSuite(String suite) MailConfig.addEnabledSecureTransportProtocol(String protocol) MailConfig.removeEnabledSecureTransportProtocol(String protocol) MailConfig.setAllowRcptErrors(boolean allowRcptErrors) set if sending allows rcpt errorsMailConfig.setAuthMethods(String authMethods) set string of allowed auth methods. if set only these methods will be used if the server supports them.MailConfig.setConnectTimeout(int connectTimeout) MailConfig.setDisableEsmtp(boolean disableEsmtp) set if ESMTP should be tried as first command (EHLO)MailConfig.setDKIMSignOption(DKIMSignOptions dkimSignOptions) Sets one DKIMSignOptions for convenient.MailConfig.setDKIMSignOptions(List<DKIMSignOptions> dkimSignOptions) Sets DKIMSignOptions.MailConfig.setEnableDKIM(boolean enableDKIM) Sets true to enable DKIM Signatures, sets false to disable it.MailConfig.setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) MailConfig.setHostname(String hostname) Set the hostname of the smtp server.MailConfig.setHostnameVerificationAlgorithm(String hostnameVerificationAlgorithm) MailConfig.setIdleTimeout(int idleTimeout) MailConfig.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) MailConfig.setKeepAlive(boolean keepAlive) set if connection pool is enabled default is trueMailConfig.setKeepAliveTimeout(int keepAliveTimeout) Set the keep alive timeout for SMTP connection, Defaults in seconds.MailConfig.setKeepAliveTimeoutUnit(TimeUnit keepAliveTimeoutUnit) SetsTimeUnitof keeping connections in the pool alive.MailConfig.setKeyCertOptions(KeyCertOptions options) MailConfig.setLocalAddress(String localAddress) MailConfig.setLogActivity(boolean logEnabled) MailConfig.setLogin(LoginOption login) Set the login mode for the connection.MailConfig.setMaxMailsPerConnection(long maxMailsPerConnection) Sets the max emails count per connection before it gets closed.MailConfig.setMaxPoolSize(int maxPoolSize) set the max allowed number of open connections to the mail server if not set the default is 10MailConfig.setMetricsName(String metricsName) MailConfig.setMultiPartOnly(boolean multiPartOnly) Sets to encode multipart only or not.MailConfig.setNtDomain(String ntDomain) Sets the domain used on NTLM authenticationMailConfig.setOwnHostname(String ownHostname) set the hostname to be used for HELO/EHLO and the Message-IDMailConfig.setPassword(String password) Set the password for the login.MailConfig.setPipelining(boolean pipelining) Sets to enable/disable the pipelining capability if SMTP server supports it.MailConfig.setPoolCleanerPeriod(int poolCleanerPeriod) Set the connection pool cleaner period, defaults in milli seconds, a non positive value disables expiration checks and connections will remain in the pool until they are closed.MailConfig.setPoolCleanerPeriodUnit(TimeUnit poolCleanerPeriodUnit) Sets theTimeUnitof pool cleaning period.MailConfig.setPort(int port) Set the port of the smtp server.MailConfig.setProxyOptions(ProxyOptions proxyOptions) MailConfig.setReceiveBufferSize(int receiveBufferSize) MailConfig.setReconnectAttempts(int attempts) MailConfig.setReconnectInterval(long interval) MailConfig.setReuseAddress(boolean reuseAddress) MailConfig.setReusePort(boolean reusePort) MailConfig.setSendBufferSize(int sendBufferSize) MailConfig.setSoLinger(int soLinger) MailConfig.setSsl(boolean isSsl) MailConfig.setSslEngineOptions(SSLEngineOptions sslEngineOptions) MailConfig.setSslHandshakeTimeout(long sslHandshakeTimeout) MailConfig.setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) MailConfig.setStarttls(StartTLSOptions starttls) Set the tls security mode for the connection.MailConfig.setTcpCork(boolean tcpCork) MailConfig.setTcpFastOpen(boolean tcpFastOpen) MailConfig.setTcpKeepAlive(boolean tcpKeepAlive) MailConfig.setTcpNoDelay(boolean tcpNoDelay) MailConfig.setTcpQuickAck(boolean tcpQuickAck) MailConfig.setTrafficClass(int trafficClass) MailConfig.setTrustAll(boolean trustAll) MailConfig.setTrustOptions(TrustOptions options) MailConfig.setUseAlpn(boolean useAlpn) MailConfig.setUserAgent(String userAgent) Sets the Mail User Agent(MUA) name.MailConfig.setUsername(String username) Set the username for the login.MailConfig.setWorkstation(String workstation) Sets the workstation used on NTLM authenticationMethods in io.vertx.ext.mail with parameters of type MailConfigModifier and TypeMethodDescriptionstatic MailClientMailClient.create(Vertx vertx, MailConfig config) Create a non shared instance of the mail client.static MailClientMailClient.createShared(Vertx vertx, MailConfig config) LikeMailClient.createShared(io.vertx.core.Vertx, MailConfig, String)but with the default pool namestatic MailClientMailClient.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 nameMailClientBuilder.with(MailConfig configuration) Set a configuration object.Constructors in io.vertx.ext.mail with parameters of type MailConfigModifierConstructorDescriptionMailConfig(MailConfig other) copy config object from another MailConfig object -
Uses of MailConfig in io.vertx.ext.mail.mailencoder
Constructors in io.vertx.ext.mail.mailencoder with parameters of type MailConfigModifierConstructorDescriptionMailEncoder(MailMessage message, String hostname, MailConfig mailConfig) Creates a MailEncoder for the message. -
Uses of MailConfig in io.vertx.reactivex.ext.mail
Methods in io.vertx.reactivex.ext.mail with parameters of type MailConfigModifier and TypeMethodDescriptionstatic MailClientMailClient.create(Vertx vertx, MailConfig config) Create a non shared instance of the mail client.static MailClientMailClient.createShared(Vertx vertx, MailConfig config) LikeMailClient.createShared(Vertx, MailConfig, String)but with the default pool namestatic MailClientMailClient.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 nameMailClientBuilder.with(MailConfig configuration) Set a configuration object. -
Uses of MailConfig in io.vertx.rxjava3.ext.mail
Methods in io.vertx.rxjava3.ext.mail with parameters of type MailConfigModifier and TypeMethodDescriptionstatic MailClientMailClient.create(Vertx vertx, MailConfig config) Create a non shared instance of the mail client.static MailClientMailClient.createShared(Vertx vertx, MailConfig config) LikeMailClient.createShared(Vertx, MailConfig, String)but with the default pool namestatic MailClientMailClient.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 nameMailClientBuilder.with(MailConfig configuration) Set a configuration object.