В 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
#AR#站点免费#站点公告
Hey guys,
As you can see, we're back on track but still working on some issues. Bear with us as we iron these things out.
Global Freeleech will be ending on Monday.
Thanks
Edit: If you have the means to be a racer, please contact phiend
————
#HappyFappy#站点免费
因为 38 妇女节,站免两天。还剩 1 day, 16 hours。
————
#HeBits#站点免费#开放注册#综合公告
HeBits 迎来了它的 16 岁生日,开注、站免 5 天,在这期间每天还可以领取一份每日礼物。
————
#PTP#站点公告
Just wanted to put out a quick message to let everyone know we're going to be addressing some lingering IRC issues in the next few days, and in the meantime IRC is down while we sort them out.
We're also aware of some site features (I.E. IMDB not pulling properly) not working properly, these will addressed very shortly.
Edit: They're fixed! Let us know if anyone runs into any lingering isues.
We apologize for the inconveniences, we hope to have everything sorted out by the end of the weekend at the earliest.
#没用的外站信息
可能会被群友说是没用的外站信息,就合并到一起发了。
————
#SC#SecretCinema#站点公告
We have a new IRC channel that we actually control.
Server: irc.brokensphere.net:6697
Channel: #secretcinema
Use site nick especially if you require assistance.
Please don't use the #sc channel for assistance or help with your account as staff will no longer idle in this chat.
TLDR; SC 更换了 IRC 的域名。
————
#shazbat#站点公告
2024-02-25 - Webchat broken
As you might have noticed, the webchat is a bit broken. We are working on fixing it, but it might take some time.
If you want a good chat experience, join IRC (see the help pages).
TLDR; webchat 炸了,要聊天就来 IRC。
————
#ABN#站点免费
站免还剩 8 天+
————
#HeBits#站点免费
站免还剩 1 天+
————
#AcidLounge#站点公告
Hey all,
We had over 10 accounts that someone took advantage of maybe from stolen database from another site. These peeps have now lost there account.
So please don't use the same password as other sites maybe consider using Two Factor Authentication (2FA) which can be setup in your settings.
You can use an app like Authy
https://authy.com/what-is-2fa/
TLDR; 有人号被盗了,记得开 2FA。