-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.yml
37 lines (36 loc) · 1.1 KB
/
example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
brouzie_mailer:
sender:
info@site.com: Site Notifications
default_transport: default
transports:
default:
type: swiftmailer
service: mailer
delayed:
type: swiftmailer
service: swiftmailer.mailer.delayed
context:
a: b
headers:
X-Abc: abcd
emails:
user_registration:
twig_blocks:
subject: Hello {{ greeting }}!
content: Hello {{ greeting }}!
plain_text_content: Hello <b>{{ greeting }}</b>!
headers: |
X-Ololo: trololo
required_context_keys: [greeting]
user_friendship_request:
twig: '@App/emails/user_friendship_request.html.twig'
context:
ololo: '%trololo%'
headers:
X-Ololo: trololo
required_context_keys: [user, friend]
daily_newsletter:
service: app.emails.daily_newsletter_email
transport: delayed
sender:
newsletter@site.com: Daily Newsletter Robot