В 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
🔰Airdrop: MetaFish
💸Value: 200 Million $MTF($150)
🪐Referral: 40 Million Each #MTF ($30)
⏳Distribution Date: 15th August 2023
💎Ratings: ⭐️⭐️⭐️⭐️⭐️
🔗Airdrop Link: http://t.me/metafishRound2Airdropbot
Note: Airdrop will end on 15th August 2023 and rewards will be distributed to the winners BEP-20 wallet on after Instantly
Disclaimer: Please do your own research (DYOR) before joining to any airdrops project, also airdrop is 100% free. Don't send any fee or penny for receiving airdrop tokens. Also we don't recommend you to invest in any new projects, just join airdrop for free
💧Airdrop : MetaFish💧
📣Complete Task: ➕ 80,000 #MTF (~$60)
📊Referral: ➕ 20,000 #MTF (~$15)
🏆Winners: All Valid users.
💎Ratings: ⭐️⭐️⭐️
📅End Date: 9th Aug, 2022
🔛Metafish Airdrop For Click Here🔛
🌀 Join Metafish Telegram Group & Telegram Channel.
🌀 Join Advertiser Telegram Group & Telegram Channel.
🌀 Follow Advertiser on Twitter and retweet the pinned post.
🌀 Submit Polygon address
📡Enter your information to the airdrop bot.
🗞Note: All airdrop steps should be completed.
✔️Business Inquiry: Admin or Admin2