A Duct module that adds Integrant keys for sending mail via SMTP.
Add the following dependency to your deps.edn file:
org.duct-framework/module.mail {:mvn/version "0.1.0"}
Or to your Leiningen project file:
[org.duct-framework/module.mail "0.1.0"]
Add the :duct.module/mail key to your Duct configuration:
{:duct.module/mail {}}This module will add a key, :duct.client/smtp, that will initiate
into a function that takes a map defining a mail message, and will then
deliver that message via SMTP.
In the :repl and :test profiles the message will be instead
appended to the logs/mail.log or logs/mail-test.log file
respectively.
Copyright © 2026 James Reeves
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.