devilbox/docs/intermediate/email-catch-all.rst

32 lines
1022 B
ReStructuredText
Raw Normal View History

.. include:: /_includes/snippets/__ANNOUNCEMENTS__.rst
2018-07-03 13:47:58 +00:00
.. _email_catch_all:
2018-04-02 12:37:26 +00:00
***************
Email catch-all
***************
2018-08-15 17:53:06 +00:00
Devilbox Intranet
=================
2018-04-02 12:37:26 +00:00
All your projects can send emails to whatever recipient. You do not have to worry that they will
actually being sent. Each PHP container runs a local postfix mailserver that intercepts
all outgoing mails and puts them into a local mailbox by the user ``devilbox``.
In order to view sent emails open up the devilbox intranet http://localhost/mail.php.
There you can also test email sending and verify that they really stay locally.
2018-07-08 10:42:04 +00:00
.. include:: /_includes/figures/devilbox/devilbox-intranet-emails.rst
2018-04-02 12:37:26 +00:00
In the above image from the intranet you can see that all emails sent to whatever recipient
have been caught by the Devilbox and are available to be read.
2018-08-15 17:53:06 +00:00
MailHog
=======
Instead of using the very basic Devilbox intranet UI for emails, you can also enable MailHog
and use this to view sent email.s
.. seealso:: :ref:`custom_container_enable_mailhog`