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 here.
|
void |
stop()
If your verticle has simple synchronous clean-up tasks to complete then override this method and put your clean-up
code in here.
|
config, deploymentID, getVertx, init, processArgs, start, stop
public void start()
AbstractVerticle
start
in class AbstractVerticle
public void stop()
AbstractVerticle
stop
in class AbstractVerticle
Copyright © 2023 Eclipse. All rights reserved.