Update 'README.md'
This commit is contained in:
20
README.md
20
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
|
||||
|
||||
Reference in New Issue
Block a user