В 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
🚀 Back to Back profits are made in the Premium Group
🎯🎯#C98/USDT has covered all the target to give a Profit of 22% to all Premium Members
👁🗨Contact @futurechief to enter the Premium Futures & SPOT Group for daily gain
#C98/USDT analysis :
#C98 is currently in a bearish trend, consistently making new lows. The price is expected to test the resistance zone before resuming its bearish momentum.
TF : 1h
Entry : $0.0872
Target : $0.0822
SL : $0.0900
#C98
Coin98 has successfully broken above the descendingchannel formation on the daily timeframe👀
Now, the price is holding above the previous resistance-turned-supportlevel
A bounce from the support zone could push the price toward targets at $0.077, $0.093, and $0.130
#C98 result
1st target achieved in just 15 hours✅
One more quick profit 6%💰🤑
👉 More quick profit signals available in premium channel. Hurry up 🏃♂👇
☎️ Contact @FutureExpertAdmin