В 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
Bonjour! We're here at Paris Blockchain Week🇫🇷
If you’re at the event, don’t miss the chance to say hi to Karyna Sovich, our Head of Business Development, who’s there!
Let's connect 🌍
#PBW2025#ParisBlockchainWeek
🎬 Gumart is in Paris Blockchain Week 2025 🇫🇷
#GuGoGlobal campaign – a journey to take Gumart around the world and bring Web3 adoption closer to real life!
📍 First Stop: Paris Blockchain Week 2025
Our team just landed in Paris, the heart of innovation and fashion, to showcase Gumart at one of the most prestigious Web3 events in the world! From networking with top-tier founders and VCs to sharing the stage with the best builders in the space, Gumart is here to make waves.
🎥👉 Watch the highlight video from our Paris mission – and feel the energy!
💡We’re on a mission to show the world how Gumart is building the future of crypto payments, e-commerce, and DeFi — one region at a time. Real people. Real places. Real utility.
🚀 Next stop? Maybe your city. Don’t blink 👀
Let’s take Web3 mainstream – together 🌐
#GuGoGlobal#Gumart#PBW2025#Web3Adoption#ParisBlockchainWeek#CryptoInRealLife