В Python есть удобный почтовый debug-сервер. Он поможет проверить работу почты вашего web-проекта на этапе разработки без необходимости настраивать внешние сервисы или взаимодействие с реальными серверами Google или Yandex. Этот сервер просто печатает все сообщения в консоль.
Таким образом удобно дебажить одноразовые ссылки активации или просто факт отправки письма по расписанию.
Запускается очень просто:
python3 -m smtpd -n -c DebuggingServer localhost:1025
Теперь настройте ваш проект на использование этого сервера. Например вот так настраивается Django:
# settings.py
if DEBUG:
EMAIL_HOST = 'localhost'
EMAIL_PORT = 1025
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = False
DEFAULT_FROM_EMAIL = '[email protected]'
#django#tricks
#ADX/USDT analysis :
#ADX is currently in a downtrend and trading below its 200 exponential moving average (EMA). The price is encountering resistance from the 200 EMA and a resistance zone. It is anticipated that the price will decline from this point and test lower levels.
TF : 2h
Entry : $0.1090
Target : $0.0963
SL : $0.1173
#ADX/USDT analysis :
#ADX is currently in an uptrend, making new highs while trading above the 200 EMA and the support zone. The price is anticipated to resume its bullish momentum and test the previous swing high. Look for a pullback for a long entry.
TF : 4H
Entry : $0.1659
Target : $0.1934
SL : $0.1550
#ADX profit projections if remains in bull zone
Strong support Layer
220-225
Above this value #ADX will remain in bull Zone and will go as projected 🚀🚀