# README
Contact Form Service
A simple and lightweight API for handling contact form submissions.
Configuration
Create a config.yaml file in the same directory as the executable
# Configure multiple recipients
# Specify the 'id' in the API call
destinations:
- id: personalwebsite
name: "Joe Bloggs"
email: "[email protected]"
- id: appsupport
name: "App Support"
email: "[email protected]"
# Configure API keys for MailJet
mailjet:
privatekey: xxx
publickey: xxx
from: [email protected]
name: Contact Form
subject: Contact Form Message
slack:
apikey: demoapikey
channelid: chanid
Available as a Docker image
docker pull ghcr.io/michaelrausch/contact:latest
Usage
POST "/"
{
"Name": "Joe Bloggs"
"Email": "[email protected]"
"Message": "Hello, World!"
"Destination": "personalwebsite"
}
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.