В 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
#RAD/USDT analysis :
#RAD is currently experiencing a bearish trend, trading below the 200 EMA. The price is forming lower lows (LLs) and lower highs (LHs).
At present, it is testing the resistance zone along with the 200 EMA. A reversal is anticipated from this level, allowing the price to resume its bearish momentum and potentially test lower levels.
TF : 1H
Entry : $0.840
Target : $0.779
SL : $0.875
#RAD/USDT analysis :
#RAD has broken out and retested the previous support levels. It is expected to reject from the current level and test lower levels.
TF : 1h
Entry : $1.209
Target : $1.127
SL : $1.268