В 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
#AMP/USDT analysis :
#AMP is currently exhibiting an uptrend, consistently reaching new highs while trading above the 200 EMA. The price is now retracing toward the 200 EMA and a significant support level.
It is expected that the price will test this zone and subsequently rebound, which will allow the bullish momentum to persist and potentially lead to a retest of previous highs.
TF : 1D
Entry : $0.006750
Target : $0.011915
SL : $0.004950
#AMP/USDT analysis :
#AMP has broken above a previously tested resistance level and has bounced back after a retest. This suggests a continuation of its bullish momentum, with the price likely to test previous highs from the current level.
TF : 1D
Entry : $0.005420
Target : $0.013400
SL : $0.004180
#AMP has a trading range on 12H Time frame, we expect a good pump from bottom of this range,also after breakup will have another bullish movement again
📈
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️