File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,24 @@ expert_coder_swiftmailer_send_grid:
6060 api_key: %sendgrid_api_key%
6161 categories: [my_category] # optional, will be added to all mails sent (can be seen on sendgrid dashboard)
6262` ` `
63+ Symfony 3
64+ ---------
65+
66+ Since Symfony 3.2, you must name the custom transport service swiftmailer.mailer.transport.< name > so you can use one of the solutions below :
67+
68+ *services.yml*
69+ ` ` ` yml
70+ services:
71+ swiftmailer.mailer.transport.expertcoder_swift_mailer.send_grid.transport:
72+ alias: expertcoder_swift_mailer.send_grid.transport
73+ ` ` `
74+ **OR**
75+
76+ *config.yml*
77+ ` ` ` yml
78+ swiftmailer:
79+ transport: 'swiftmailer.mailer.transport.expertcoder_swift_mailer.send_grid'
80+ ` ` `
6381
6482# # Important !
6583
You can’t perform that action at this time.
0 commit comments