# Module: vertx-mail-js/mail_service

## vertx-mail-js/mail_service

Source:
  - mail_service-proxy.js, line 3

### 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:
    - 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:
    - mail_service.js, line 85

  ##### Returns:

  MailService instance that can then be used to send multiple mails
  Type
    MailService

## vertx-mail-js/mail_service

Source:
  - mail_service.js, line 3

### 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:
    - 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:
    - mail_service.js, line 85

  ##### Returns:

  MailService instance that can then be used to send multiple mails
  Type
    MailService