В 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
#ALCX/USDT analysis :
#ALCX is in a downtrend, forming lower lows (LLs) and lower highs (LHs) below the 200 EMA. The price is currently facing resistance and is anticipated to decline from there, testing lower levels.
TF : 2H
Entry : $10.12
Target : $9.30
SL : $10.74
#ALCX/USDT analysis :
#ALCX is in a downtrend and trading below the 200 EMA. The price has broken down below the support zone and is now retracing back to retest the broken zone before continuing the bearish momentum. For a short entry, wait for the price to test the resistance zone.
TF : 2h
Entry : $12.10
Target : $10.51
SL : $13.20
#ALCX👈
https://www.binance.com/en/trade/ALCX_BTC
Buying Zone 630-660
👆
We are expecting a bull run in this coin in coming days
Sell
🤑730-750
🤑750-800
🤑800-850
🤑 850-900
🤑 900-1000
🚀 1000-1100
🚀 1100-1200 & above
Bullish above 600