# Module: vertx-mail-js/mail_service

### Classes

MailService

### Methods

#### (static) MailService.createEventBusProxy(vertx, address) → {MailService}

create a proxy of MailService that delegates to the mail service running somewhere else via the event bus

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the Vertx instance the proxy will be run in
`address` | string | the eb address of the mail service running somewhere, default is "vertx.mail"

Source:
  - vertx-mail-js/mail_service-proxy.js, line 77

##### Returns:

MailService instance that can then be used to send multiple mails

Type
  MailService

#### (static) MailService.createEventBusProxy(vertx, address) → {MailService}

create a proxy of MailService that delegates to the mail service running somewhere else via the event bus

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the Vertx instance the proxy will be run in
`address` | string | the eb address of the mail service running somewhere, default is "vertx.mail"

Source:
  - vertx-mail-js/mail_service.js, line 85

##### Returns:

MailService instance that can then be used to send multiple mails

Type
  MailService

### Classes

MailService

### Methods

#### (static) MailService.createEventBusProxy(vertx, address) → {MailService}

create a proxy of MailService that delegates to the mail service running somewhere else via the event bus

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the Vertx instance the proxy will be run in
`address` | string | the eb address of the mail service running somewhere, default is "vertx.mail"

Source:
  - vertx-mail-js/mail_service-proxy.js, line 77

##### Returns:

MailService instance that can then be used to send multiple mails

Type
  MailService

#### (static) MailService.createEventBusProxy(vertx, address) → {MailService}

create a proxy of MailService that delegates to the mail service running somewhere else via the event bus

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the Vertx instance the proxy will be run in
`address` | string | the eb address of the mail service running somewhere, default is "vertx.mail"

Source:
  - vertx-mail-js/mail_service.js, line 85

##### Returns:

MailService instance that can then be used to send multiple mails

Type
  MailService