Hedwig is a quick email interface.
GET /hello/:to/:title/:message/:img?
Parameter | Type | Description |
---|---|---|
to |
string |
Required. receiver email |
title |
string |
Required. mail body title |
message |
string |
Required. mail body message |
img |
string |
Optional. mail body image |
POST /hello
Request Body
{
"to": "example@example.com",
"title": "Title",
"message": "hello my best friend",
"image": "http:/xxxx.png"
}
kubectl apply -f deployment.yaml
- First of all, you should setup
cert-manager
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.7.2/cert-manager.yaml
- Look at the Cert-Manager