diff --git a/mailer.rst b/mailer.rst index 60575fed9e9..940931bc329 100644 --- a/mailer.rst +++ b/mailer.rst @@ -190,6 +190,26 @@ party provider: Note that the protocol is *always* HTTPs and cannot be changed. +Checking your configuration +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you have any doubt on your configuration. Or if want to make sure your mail supplier is still working. +You can do this with the ``mailer:send-email`` command: + +.. code-block:: terminal + + $ php bin/console mailer:send-email from=a@symfony.com to=b@symfony.com --subject=Test --body=body + + # No subject/body to send simple test mail + $ php bin/console mailer:send-email from=a@symfony.com to=b@symfony.com + +The command can also send body from file using ``--body-source`` option: + +.. code-block:: terminal + + $ php bin/console mailer:send-email from=a@symfony.com to=b@symfony.com --body-source=file --body=/path/to/file + + High Availability ~~~~~~~~~~~~~~~~~ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy