From 0fcb335d2d7a7878a68c29a33d67d5631cb6492f Mon Sep 17 00:00:00 2001 From: vista Date: Sun, 19 Mar 2023 17:19:43 +0100 Subject: [PATCH] Update 'README.md' --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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