public class MailServiceVerticle extends AbstractVerticle
when the standard config can be used (send mails via localhost:25 without login) it is possible to deploy the verticle with the id
vertx run client:io.vertx.mail-client
and send mails from other machines via the event bus with the client address vertx.mail
(on the other hand, if you can send mails via localhost:25, you do not really need the event bus)context, vertx| Constructor and Description |
|---|
MailServiceVerticle() |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
If your verticle does a simple, synchronous start-up then override this method and put your start-up
code in there.
|
void |
stop()
If your verticle has simple synchronous clean-up tasks to complete then override this method and put your clean-up
code in there.
|
config, deploymentID, getVertx, init, processArgs, start, stoppublic void start()
AbstractVerticlestart in class AbstractVerticlepublic void stop()
AbstractVerticlestop in class AbstractVerticleCopyright © 2015. All rights reserved.