Skip to content

Commit cface15

Browse files
[Mailer] Mailtrap sandbox documentation
Add documentation relating to the Mailtrap sandbox implementation in 7.4 (symfony/symfony#61315).
1 parent fa5eaf9 commit cface15

File tree

1 file changed

+82
-77
lines changed

1 file changed

+82
-77
lines changed

mailer.rst

Lines changed: 82 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ Service Install with Webhook su
132132

133133
The AhaSend integration was introduced in Symfony 7.3.
134134

135+
.. versionadded:: 7.4
136+
137+
Support for Mailtrap's sandbox environment was introduced in Symfony 7.4.
138+
135139
.. note::
136140

137141
As a convenience, Symfony also provides support for Gmail (``composer
@@ -177,83 +181,84 @@ transport, but you can force to use one:
177181
This table shows the full list of available DSN formats for each third
178182
party provider:
179183

180-
+------------------------+---------------------------------------------------------+
181-
| Provider | Formats |
182-
+========================+=========================================================+
183-
| `AhaSend`_ | - API ``ahasend+api://KEY@default`` |
184-
| | - HTTP n/a |
185-
| | - SMTP ``ahasend+smtp://USERNAME:PASSWORD@default`` |
186-
+------------------------+---------------------------------------------------------+
187-
| `Amazon SES`_ | - SMTP ``ses+smtp://USERNAME:PASSWORD@default`` |
188-
| | - HTTP ``ses+https://ACCESS_KEY:SECRET_KEY@default`` |
189-
| | - API ``ses+api://ACCESS_KEY:SECRET_KEY@default`` |
190-
+------------------------+---------------------------------------------------------+
191-
| `Azure`_ | - API ``azure+api://ACS_RESOURCE_NAME:KEY@default`` |
192-
+------------------------+---------------------------------------------------------+
193-
| `Brevo`_ | - SMTP ``brevo+smtp://USERNAME:PASSWORD@default`` |
194-
| | - HTTP n/a |
195-
| | - API ``brevo+api://KEY@default`` |
196-
+------------------------+---------------------------------------------------------+
197-
| `Google Gmail`_ | - SMTP ``gmail+smtp://USERNAME:APP-PASSWORD@default`` |
198-
| | - HTTP n/a |
199-
| | - API n/a |
200-
+------------------------+---------------------------------------------------------+
201-
| `Infobip`_ | - SMTP ``infobip+smtp://KEY@default`` |
202-
| | - HTTP n/a |
203-
| | - API ``infobip+api://KEY@BASE_URL`` |
204-
+------------------------+---------------------------------------------------------+
205-
| `Mandrill`_ | - SMTP ``mandrill+smtp://USERNAME:PASSWORD@default`` |
206-
| | - HTTP ``mandrill+https://KEY@default`` |
207-
| | - API ``mandrill+api://KEY@default`` |
208-
+------------------------+---------------------------------------------------------+
209-
| `MailerSend`_ | - SMTP ``mailersend+smtp://KEY@default`` |
210-
| | - HTTP n/a |
211-
| | - API ``mailersend+api://KEY@BASE_URL`` |
212-
+------------------------+---------------------------------------------------------+
213-
| `Mailgun`_ | - SMTP ``mailgun+smtp://USERNAME:PASSWORD@default`` |
214-
| | - HTTP ``mailgun+https://KEY:DOMAIN@default`` |
215-
| | - API ``mailgun+api://KEY:DOMAIN@default`` |
216-
+------------------------+---------------------------------------------------------+
217-
| `Mailjet`_ | - SMTP ``mailjet+smtp://ACCESS_KEY:SECRET_KEY@default`` |
218-
| | - HTTP n/a |
219-
| | - API ``mailjet+api://ACCESS_KEY:SECRET_KEY@default`` |
220-
+------------------------+---------------------------------------------------------+
221-
| `Mailomat`_ | - SMTP ``mailomat+smtp://USERNAME:PASSWORD@default`` |
222-
| | - HTTP n/a |
223-
| | - API ``mailomat+api://KEY@default`` |
224-
+------------------------+---------------------------------------------------------+
225-
| `MailPace`_ | - SMTP ``mailpace+api://API_TOKEN@default`` |
226-
| | - HTTP n/a |
227-
| | - API ``mailpace+api://API_TOKEN@default`` |
228-
+------------------------+---------------------------------------------------------+
229-
| `Mailtrap`_ | - SMTP ``mailtrap+smtp://PASSWORD@default`` |
230-
| | - HTTP n/a |
231-
| | - API ``mailtrap+api://API_TOKEN@default`` |
232-
+------------------------+---------------------------------------------------------+
233-
| `Postal`_ | - SMTP n/a |
234-
| | - HTTP n/a |
235-
| | - API ``postal+api://API_KEY@BASE_URL`` |
236-
+------------------------+---------------------------------------------------------+
237-
| `Postmark`_ | - SMTP ``postmark+smtp://ID@default`` |
238-
| | - HTTP n/a |
239-
| | - API ``postmark+api://KEY@default`` |
240-
+------------------------+---------------------------------------------------------+
241-
| `Resend`_ | - SMTP ``resend+smtp://resend:API_KEY@default`` |
242-
| | - HTTP n/a |
243-
| | - API ``resend+api://API_KEY@default`` |
244-
+------------------------+---------------------------------------------------------+
245-
| `Scaleway`_ | - SMTP ``scaleway+smtp://PROJECT_ID:API_KEY@default`` |
246-
| | - HTTP n/a |
247-
| | - API ``scaleway+api://PROJECT_ID:API_KEY@default`` |
248-
+------------------------+---------------------------------------------------------+
249-
| `Sendgrid`_ | - SMTP ``sendgrid+smtp://KEY@default`` |
250-
| | - HTTP n/a |
251-
| | - API ``sendgrid+api://KEY@default`` |
252-
+------------------------+---------------------------------------------------------+
253-
| `Sweego`_ | - SMTP ``sweego+smtp://LOGIN:PASSWORD@HOST:PORT`` |
254-
| | - HTTP n/a |
255-
| | - API ``sweego+api://API_KEY@default`` |
256-
+------------------------+---------------------------------------------------------+
184+
+------------------------+----------------------------------------------------------------------------+
185+
| Provider | Formats |
186+
+========================+============================================================================+
187+
| `AhaSend`_ | - API ``ahasend+api://KEY@default`` |
188+
| | - HTTP n/a |
189+
| | - SMTP ``ahasend+smtp://USERNAME:PASSWORD@default`` |
190+
+------------------------+----------------------------------------------------------------------------+
191+
| `Amazon SES`_ | - SMTP ``ses+smtp://USERNAME:PASSWORD@default`` |
192+
| | - HTTP ``ses+https://ACCESS_KEY:SECRET_KEY@default`` |
193+
| | - API ``ses+api://ACCESS_KEY:SECRET_KEY@default`` |
194+
+------------------------+----------------------------------------------------------------------------+
195+
| `Azure`_ | - API ``azure+api://ACS_RESOURCE_NAME:KEY@default`` |
196+
+------------------------+----------------------------------------------------------------------------+
197+
| `Brevo`_ | - SMTP ``brevo+smtp://USERNAME:PASSWORD@default`` |
198+
| | - HTTP n/a |
199+
| | - API ``brevo+api://KEY@default`` |
200+
+------------------------+----------------------------------------------------------------------------+
201+
| `Google Gmail`_ | - SMTP ``gmail+smtp://USERNAME:APP-PASSWORD@default`` |
202+
| | - HTTP n/a |
203+
| | - API n/a |
204+
+------------------------+----------------------------------------------------------------------------+
205+
| `Infobip`_ | - SMTP ``infobip+smtp://KEY@default`` |
206+
| | - HTTP n/a |
207+
| | - API ``infobip+api://KEY@BASE_URL`` |
208+
+------------------------+----------------------------------------------------------------------------+
209+
| `Mandrill`_ | - SMTP ``mandrill+smtp://USERNAME:PASSWORD@default`` |
210+
| | - HTTP ``mandrill+https://KEY@default`` |
211+
| | - API ``mandrill+api://KEY@default`` |
212+
+------------------------+----------------------------------------------------------------------------+
213+
| `MailerSend`_ | - SMTP ``mailersend+smtp://KEY@default`` |
214+
| | - HTTP n/a |
215+
| | - API ``mailersend+api://KEY@BASE_URL`` |
216+
+------------------------+----------------------------------------------------------------------------+
217+
| `Mailgun`_ | - SMTP ``mailgun+smtp://USERNAME:PASSWORD@default`` |
218+
| | - HTTP ``mailgun+https://KEY:DOMAIN@default`` |
219+
| | - API ``mailgun+api://KEY:DOMAIN@default`` |
220+
+------------------------+----------------------------------------------------------------------------+
221+
| `Mailjet`_ | - SMTP ``mailjet+smtp://ACCESS_KEY:SECRET_KEY@default`` |
222+
| | - HTTP n/a |
223+
| | - API ``mailjet+api://ACCESS_KEY:SECRET_KEY@default`` |
224+
+------------------------+----------------------------------------------------------------------------+
225+
| `Mailomat`_ | - SMTP ``mailomat+smtp://USERNAME:PASSWORD@default`` |
226+
| | - HTTP n/a |
227+
| | - API ``mailomat+api://KEY@default`` |
228+
+------------------------+----------------------------------------------------------------------------+
229+
| `MailPace`_ | - SMTP ``mailpace+api://API_TOKEN@default`` |
230+
| | - HTTP n/a |
231+
| | - API ``mailpace+api://API_TOKEN@default`` |
232+
+------------------------+----------------------------------------------------------------------------+
233+
| `Mailtrap`_ | - SMTP ``mailtrap+smtp://PASSWORD@default`` |
234+
| | - HTTP n/a |
235+
| | - API (Live) ``mailtrap+api://API_TOKEN@default`` |
236+
| | - API (Sandbox) ``mailtrap+sandbox://API_TOKEN@default/?inboxId=INBOX_ID`` |
237+
+------------------------+----------------------------------------------------------------------------+
238+
| `Postal`_ | - SMTP n/a |
239+
| | - HTTP n/a |
240+
| | - API ``postal+api://API_KEY@BASE_URL`` |
241+
+------------------------+----------------------------------------------------------------------------+
242+
| `Postmark`_ | - SMTP ``postmark+smtp://ID@default`` |
243+
| | - HTTP n/a |
244+
| | - API ``postmark+api://KEY@default`` |
245+
+------------------------+----------------------------------------------------------------------------+
246+
| `Resend`_ | - SMTP ``resend+smtp://resend:API_KEY@default`` |
247+
| | - HTTP n/a |
248+
| | - API ``resend+api://API_KEY@default`` |
249+
+------------------------+----------------------------------------------------------------------------+
250+
| `Scaleway`_ | - SMTP ``scaleway+smtp://PROJECT_ID:API_KEY@default`` |
251+
| | - HTTP n/a |
252+
| | - API ``scaleway+api://PROJECT_ID:API_KEY@default`` |
253+
+------------------------+----------------------------------------------------------------------------+
254+
| `Sendgrid`_ | - SMTP ``sendgrid+smtp://KEY@default`` |
255+
| | - HTTP n/a |
256+
| | - API ``sendgrid+api://KEY@default`` |
257+
+------------------------+----------------------------------------------------------------------------+
258+
| `Sweego`_ | - SMTP ``sweego+smtp://LOGIN:PASSWORD@HOST:PORT`` |
259+
| | - HTTP n/a |
260+
| | - API ``sweego+api://API_KEY@default`` |
261+
+------------------------+----------------------------------------------------------------------------+
257262

258263
.. warning::
259264

0 commit comments

Comments
 (0)