- Source:
Classes
Methods
-
<static> MailClient.createNonShared(vertx, config) → {MailClient}
-
create a non shared instance of the mail client
Parameters:
Name Type Description vertxVertx the Vertx instance the operation will be run in configObject MailConfig configuration to be used for sending mails - Source:
Returns:
MailClient instance that can then be used to send multiple mails- Type
- MailClient
-
<static> MailClient.createShared(vertx, config, poolName) → {MailClient}
-
Create a Mail client which shares its data source with any other Mongo clients created with the same pool name
Parameters:
Name Type Description vertxVertx the Vert.x instance configObject the configuration poolNamestring the pool name - Source:
Returns:
the client- Type
- MailClient