В 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
✅ It’s time to smirk your way into chaos on the #BNB Chain 😈
✨ Meet #TROLL — the meme coin powered by the most iconic face on the internet.
🌪
✅ Presale to be LIVE on Pinksale in 1 Hour
✅ Type: Public | Max Buy: 0.4 BNB
⏱ Ends: Aug 20, 2025 @ 15:00 UTC
Get in early and secure your spot before it takes off.
✅ Join now:
https://www.pinksale.finance/launchpad/bsc/0x6C652ac964a09460c9DE526a60661bEE2E954594
✅ This is more than a meme — it’s a rebellion.
Be early. Stir chaos. Join the #TROLL uprising on the road to the moon. 🌕
✅ Stay Connected:
🌐https://trololol.meme
🐣https://x.com/trololol_bsc
✉️https://t.me/trololol_bsc
This isn't just a meme coin – it's a revolution! 💣
Be early, be ruthless, and let’s send #TROLL to the moon together!🚀
😄Anthropic OpenAI’ni biroz troll qildi!
Ular shunday deyishdi: "Bizning AI har doim ochiq – barcha fikrlash jarayonlari foydalanuvchi uchun ko‘rinadi."
Lekin eng muhim yangilik – Claude 3.7 Sonnet API orqali ishlaganda, foydalanuvchilar AI fikrlash vaqtini nazorat qila oladi!
📌Bu nimani anglatadi?
Siz Claude’ga maksimal fikrlash hajmini belgilab bera olasiz, masalan, 128K token gacha cheklov qo‘yish mumkin. Bu esa:
✔️Javob sifatini oshirish
✔️ Ishlash tezligi va narxni muvozanatlashtirish imkonini beradi.
Yuqori sifatli AI, shaffof mantiq va to‘liq nazorat – Claude 3.7 Sonnet raqobatchilardan ajralib turish uchun kuchli harakat qilyapti! 🚀
#Claude#Anthropic#AI#OpenAI#Troll😂