# Module: vertx-mail-js/mail_client

### Classes

MailClient

### Methods

#### (static) MailClient.createNonShared(vertx, config) → {MailClient}

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx |
`config` | Object |

Source:
  - vertx-mail-js/mail_client.js, line 101

##### Returns:

Type
  MailClient

#### (static) MailClient.createShared(vertx, config, poolName) → {MailClient}

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx |
`config` | Object |
`poolName` | string |

Source:
  - vertx-mail-js/mail_client.js, line 116

##### Returns:

Type
  MailClient