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) → {MailClient}
Like MailClient#createShared but with the default pool name
Parameters:
| Name | Type | Description |
|---|---|---|
vertx |
Vertx | the Vert.x instance |
config |
Object | the configuration |
- Source:
Returns:
the client
- Type
- MailClient