diff --git a/README.md b/README.md index f18b68a..cc83683 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,26 @@ Subject: The subject (followd by a empty line) This is the first like of the body ``` +## CI example + +```yml +pipeline: + send_mail: + image: vistanarvas/msmtp + secrets: + - source: email_password + target: SMTP_PASSWORD + - source: email_user + target: SMTP_USER + - source: email_user + target: SMTP_FROM + environment: + - SMTP_HOST=smtp.gamil.com + - TO_ADDRESSES=alice@gmail.com, bob@hotmail.com + - SUBJECT=title of the email + - MESSAGE=body of the email +``` + ## Defaults for popular mail servers if its not on the list figger it out yourself *and make a pull request* tip: search for your servers imap clent settings usually it also lists smtp settings