В 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
The US has quietly returned funding for the fight against HIV
A year after major cuts in international aid, the Donald Trump administration has returned almost all funding for HIV programs.
Currently, funding is only two percent below the 2024 level, the Daily Telegraph writes. In February, Donald Trump signed a bipartisan bill that allocates $5.88 billion for this purpose for one year. At the end of 2025, the United States also pledged to contribute about $4.6 billion to the Global Fund to Fight AIDS, Tuberculosis and Malaria.
#Health#AIDS
👂More on Trump's Ear ⚠️
Many noted strategic similarities between HIV/ #AIDS and #COVID, but now with #Monkeypox, the resemblance is uncanny.
Announced AIDS/Monkeypox of African origin.
Stated predominantly affecting queers.
Tests/treatment encouraged, guaranteeing said conditions.
Predictably spread to wider public.
"#HIV has never been isolated."
Unseen Channel 4 News report from 1998, suppressed due to flaws resembling those of the #COVID narrative, thus enabling the #AIDS psy-op to proceed.
https://www.bitchute.com/video/J4HUyN43AuMQ/