I have a Django application running locally, and I would like to test the functionality send_mail () . Currently, I can enable postfix using the following command in the terminal:
sudo postfix start
As soon as I enable the postfix, I ran the following command in the terminal:
telnet localhost 25
These two steps seem to work because the send_mail () function does not interrupt or throw an exception. Unfortunately, I'm not sure what I need to do to see the emails sent. I tried to configure Mail.app to connect to localhost, but there was no such luck.
Does anyone have an idea of ββwhat I need to do to see the emails sent by postfix?
source
share