diff --git a/extensions/mailer/runtime/src/main/java/io/quarkus/mailer/runtime/Mailers.java b/extensions/mailer/runtime/src/main/java/io/quarkus/mailer/runtime/Mailers.java index 4239dd46abaac5..ce3b238a4f32ed 100644 --- a/extensions/mailer/runtime/src/main/java/io/quarkus/mailer/runtime/Mailers.java +++ b/extensions/mailer/runtime/src/main/java/io/quarkus/mailer/runtime/Mailers.java @@ -128,7 +128,8 @@ public void stop() { private MailClient createMailClient(Vertx vertx, MailerRuntimeConfig config, TlsConfig tlsConfig) { io.vertx.ext.mail.MailConfig cfg = toVertxMailConfig(config, tlsConfig); - return MailClient.createShared(vertx, cfg); + // Do not create a shared instance, as we want separated connection pool for each SMTP servers. + return MailClient.create(vertx, cfg); } private io.vertx.ext.mail.DKIMSignOptions toVertxDkimSignOptions(DkimSignOptionsConfig optionsConfig) {