| Constructor and description |
|---|
MailService
(Object delegate) |
| Type | Name and description |
|---|---|
void |
close() |
static MailService |
createEventBusProxy(Vertx vertx, String address)create a proxy of MailService that delegates to the mail service running somewhere else via the event bus |
Object |
getDelegate() |
MailService |
sendMail(Map<String, Object> email = [:], Handler<AsyncResult<Map<String, Object>>> resultHandler) |
| Methods inherited from class | Name |
|---|---|
class MailClient |
close, createNonShared, createShared, createShared, getDelegate, sendMail |
create a proxy of MailService that delegates to the mail service running somewhere else via the event bus
vertx - the Vertx instance the proxy will be run inaddress - the eb address of the mail service running somewhere, default is "vertx.mail"io.vertx:vertx-mail-service:3.1.0