Classes
Methods
(static) MailClient.createNonShared(vertx, config) → {MailClient}
create a non shared instance of the mail client
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the Vertx instance the operation will be run in |
config |
Object | 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 |
---|---|---|
vertx |
Vertx | the Vert.x instance |
config |
Object | the configuration |
poolName |
string | the pool name |
- Source:
Returns:
the client
- Type
- MailClient