This page is about Caddy 1 and will stay here forever.

User Guide


mailout - a SMTP client email middleware with PGP encryption. Post form data from your website to your defined endpoint and receive the posted data as nicely formatted or even encrypted email.

Full documentation


Minimal configuration with PGP support
mailout /mailout { maillog /var/log/caddy/mailout/ errorlog /var/log/caddy/mailout/ [email protected] to [email protected] subject "Private Blog Contact Form" body /var/www/ username "[email protected]" password "NowW3Hav3Th35alad" host port 587 ratelimit_interval 24h ratelimit_capacity 100 }

A full working example which sends the PGP encrypted emails via GMail. The public PGP key for the receiver email address ([email protected]) gets loaded from For more details please have a look on the project homepage.

Related Links

Access the full documentation for this plugin off-site:

Plugin Help

Get help from the maintainers of the http.mailout plugin:

Plugin Website

Visit http.mailout's website for more information:

Plugin Author: Cyrill Schumacher
Last Updated: 6 Sep 2018, 1:30 PM
This plugin is independent of the Caddy project and is not endorsed or maintained by Caddy developers. Use at your own risk. Do not file issues for this plugin on Caddy's bug tracker.