Update 'README.md'

This commit is contained in:
2023-03-19 17:19:43 +01:00
parent b59c2c3ea2
commit 0fcb335d2d

View File

@@ -56,6 +56,26 @@ Subject: The subject (followd by a empty line)
This is the first like of the body 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 ## Defaults for popular mail servers
if its not on the list figger it out yourself *and make a pull request* 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 tip: search for your servers imap clent settings usually it also lists smtp settings