В 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
A gem has been spotted.
$DISTORTED is moving fast and gaining strong momentum on Solana. 🔥
The chart is showing potential for new ATH levels soon.
CA (Solana):
EPuZ1X6pPzac3ELPsT59LStmgaSr4kBJvaAbL15Fpump
ATH: $2.0M 🔥
#DISTORTED#SOLANA#MEMECOIN#CRYPTOGEM#TESLACALLS🚀
🦞 The lobster loads. The lobster accumulates.
This is how legends are made.
$LOBSTER
CA (Solana):
Ctj6G1xXzvrBq351kv9fHKLALhJR8S8TmwD4XMBVpump
#LOBSTER#SOLANA#MEMECOIN#CRYPTOGEM#TESLACALLS🚀
🚀🔥 Crypto Melt Pot – The Next Big Gem is Here! 🔥
Let’s build something massive together! 🌍
We’re creating a strong community where everyone grows and earns together. 💰
👉 Join our movement now – don’t stay behind!
💎 Be part of the early believers, support the project, and buy the token before the pump! 🚀
📢 Official Links:
🔗 Telegram: Join the Community
🐦 Twitter (X): Follow Us
💰 Contract Address (CA):
GRxRRM4fkfFUmniJspwn8beiXdfffXrBDpbooaKkpump
🔥 Let’s grow, trade, and win together — the earlier you join, the more you earn! 💸
#CryptoMeltPot#Solana#DeFi#PumpToken#CryptoGem#JoinNow#BuyTheDip#CryptoCommunity