Small service for sending mails to customer and owner with some calendar entries
A ping endpoint can be accessed at /ping
The main endpoint for handling the use of this service can be found at /v1.
Example:
curl --location 'http://localhost:10001/v1' \
--header 'Content-Type: application/json' \
--data-raw '{
"subject": "contact",
"salutation": 1,
"mail": "[email protected]",
"name": "John Smith",
"tel": "+010000000",
"text": "Hello,\\nI'\''d like to talk about a chance to work together."
}'
APP_MAILHOST: smtp server host, default: smtp.office365.com, required
APP_MAILPORT: smtp server port, default: 587, required
APP_MAILUSERNAME: mail username, required
APP_MAILPASSWORD: mail password, required
APP_SUBJECTCUSTOMER: mail subject for the customer mail
APP_MAILCOPYRIGHT: copyright signature in the customer mail
APP_MAILSUBJECTOWNER: mail subject for the owner mail
APP_CALENDERSUMMARY: calender entry summary, default: Get in touch!
APP_CALENDERDURATION: calender entry duration, default: 2 days
APP_FROM: name of the sender, will be written in the customer mail, required
APP_PORT: port for the endpoint, default: 10001
Content type
Image
Digest
sha256:570ca4c0e…
Size
20.9 MB
Last updated
over 3 years ago
docker pull agentnemo00/mailer