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

User Guide

http.mailout
Plugin

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

Examples

Minimal configuration with PGP support
mailout /mailout { maillog /var/log/caddy/mailout/ errorlog /var/log/caddy/mailout/ [email protected] https://keybase.io/cyrill/key.asc to [email protected] subject "Private Blog Contact Form" body /var/www/webspace.com/email.txt username "[email protected]" password "NowW3Hav3Th35alad" host smtp.gmail.com 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 keybase.io. For more details please have a look on the project homepage.

Related Links
Documentation

Access the full documentation for this plugin off-site:

Docs
Plugin Help

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

Support
Plugin Website

Visit http.mailout's website for more information:

Website
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.