Module: vertx-mail-js/mail_service

vertx-mail-js/mail_service

Classes

MailService

Methods

<static> MailService.create(vertx, config) → {MailService}

create an instance of MailService that is running in the local JVM
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:
MailService instance that can then be used to send multiple mails
Type
MailService

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

create an instance of MailService that calls the mail service via the event bus running somewhere else
Parameters:
Name Type Description
vertx Vertx the Vertx instance the operation will be run in
address string the eb address of the mail service running somewhere, default is "vertx.mail"
Source:
Returns:
MailService instance that can then be used to send multiple mails
Type
MailService