Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # I think better to get this settings from environment variables (As it works now).
- # AMQP Configuration.
- amqp:
- host: localhost
- port: 5672
- user: guest
- password: guest
- # I think better to keep SMTP settings in environment variables.
- # SMTP Configuration.
- smtp:
- host: smtp.sendgrid.net
- port: 25
- user: apikey
- password: *************************
- sender:
- name: Postmaster
- email: noreply@postmaster.com
- # Supported languages.
- languages:
- - name: "English"
- code: EN
- - name: "Russian"
- code: RU
- - name: "Ukrainian"
- code: UA
- events:
- - name: Email Confirmation
- key: user.email.confirmation.token
- templates:
- - language: EN # Should be from the list of languages.
- subject: Email Confirmation
- # You can eigher mount file with template or put it here.
- # template_path: /etc/email_confirmation_en.tpl
- # OR
- template: |
- <html>
- <body>
- <p>Hello {{ ... }}</p>
- <p>
- <a href="{{ ... }}">Confirm your account</a>
- </p>
- </body>
- </html>
- - language: RU # Should be from the list of languages.
- subject: Подтверждение Пароля
- # You can eigher mount file with template or put it here.
- # template_path: /etc/email_confirmation_ru.tpl
- # OR
- template: |
- <html>
- <body>
- <p>Привет {{ ... }}</p>
- <p>
- <a href="{{ ... }}">Подтвердить ваш аккаунт</a>
- </p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement