В 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
⚡️Catizen Announcement: COC Wipe Test Now Live!
#Diamonds#COC
The Catizen Announcement channel reveals the launch of the COC Wipe Test. Participants can try it first and earn 2x Diamonds for every USD spent during the test, redeemable at the official launch.
Source: link
@tonlines
🌎 A layer of diamond rain may fall deep within Neptune and Uranus! Under immense pressure, methane breaks apart, causing carbon atoms to form glittering diamond crystals that drift towards the core. ✨
#planets⚡#diamonds⚡#methane
👉subscribe Interesting Planet
🎈Hot Game This Week🎈
🐲Dusk of Dragons: Survivor🔥🔥🔥
📌Developed by 🔗Core Games
🚀#June 19 | Countdown!!!
From #diamonds to dragon #coins, the Dusk of Dragons codes can help boost your inventory, increase your levelups, and make your adventure across Libida even more thrilling!!!
The 100 diamonds and 500 dragon coins are yours after redeeming this code: 👇👇👇
🎁【 APKPURE 】🎁[Valid for Limited Time!]
*Expires on 6/30‼️
🕹️Get Access to Dusk of Dragons June 30 Update
Add @APKFreeDownloader_Bot to get any apk you want.