File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,43 @@ the application or when using a self-signed certificate::
177
177
178
178
The ``verify_peer `` option was introduced in Symfony 5.1.
179
179
180
+ Other options
181
+ -------------
182
+
183
+ .. versionadded :: 5.2
184
+
185
+ These options were added in Symfony 5.2.
186
+
187
+ command
188
+ ~~~~~~~
189
+
190
+ Command to be executed by ``sendmail `` transport.
191
+
192
+ $dsn = 'sendmail://default?command=/usr/sbin/sendmail%20-oi%20-t'
193
+
194
+ local_domain
195
+ ~~~~~~~~~~~~
196
+
197
+ The domain name to use in ``HELO `` command.
198
+
199
+ $dsn = 'smtps://smtp.example.com?local_domain=example.org
200
+
201
+ restart_threshold
202
+ ~~~~~~~~~~~~~~~~~
203
+
204
+ The maximum number of messages to send before re-starting the transport. Can be
205
+ used together with ``restart_threshold_sleep `` which is the number of seconds to
206
+ sleep between stopping and re-starting the transport.
207
+
208
+ $dsn = 'smtps://smtp.example.com?restart_threshold=10&restart_threshold_sleep=1
209
+
210
+ ping_threshold
211
+ ~~~~~~~~~~~~~~
212
+
213
+ The minimum number of seconds between two messages required to ping the server.
214
+
215
+ $dsn = 'smtps://smtp.example.com?ping_threshold=200
216
+
180
217
Sending emails asynchronously
181
218
-----------------------------
182
219
You can’t perform that action at this time.
0 commit comments