Files
services/examples/email/send/curl/sendEmail.sh
2021-09-16 12:52:36 +01:00

8 lines
301 B
Bash
Executable File

curl "https://api.m3o.com/v1/email/Send" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"from": "Awesome Dot Com",
"subject": "Email verification",
"textBody": "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link"
}'