В 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
#SIGN/USDT 🔥🔥
Leverage: Cross (10.00X)
Buy Zone: 0.0410–0.0450
TP1: 0.0505
TP2: 0.0558
TP3: 0.0615
TP4: 0.0690
TP5: 0.0780
SL: below 0.0375
From a fundamental perspective, $SIGN has seen increased market attention due to rising trading volume and liquidity on Binance, with strong recent growth performance over the past 30 days. Additionally, Binance has also launched a CreatorPad campaign for $SIGN recently, aiming to boost community engagement and user participation through reward-based activities, which can increase visibility and short-term trading momentum around the token.
🗣#Sign – Join the Potential Airdrop
Backed by $29M from Binance (Incubation), Sequoia, HashKey, and Circle.
What to do:
✔️ Visit the site
✔️ Go to “Profile” and click “Create Schema”
✔️ Randomly click through all fields
✔️ Mint in low-cost networks (Polygon costs ~0.01$)
🟠 Rewards: Potential airdrop
🟠 Deadline: TBA
🟠 Expenses: 0.01$ – 1$
🟠 Low costs but huge investment ($29M from top-tier funds).
☝️ Start trading on Bybit
Crypto Drop Club 👉 SUBSCRIBE