Bert1
1
[ x] I’m using stock [docker compose] setup, unmodified.
I am running a fresh install of Kubuntu 22.04 LTS, docker, nginx, ttrss stock setup (s. below).
Everything works fine except I cannot send emails, neither by the built-in “send test email” button nor by using the mailer_smtp plugin.
Event log
built-in email (mailer_smtp plugin equivalent)
Error:
E_USER_WARNING (512)
Filename:
classes:mailer.php:68
Message:
Error sending mail: Unknown error while sending mail. Hooks tried: 0.
- classes:mailer.php(68): user_error(Error sending mail: Unknown error while sending mail. Hooks tried: 0.)
- classes:mailer.php(60): set_error(Unknown error while sending mail. Hooks tried: 0.)
- classes:pref:system.php(25): mail([{“to_name":“”,“to_address”:"myemail@address.com”,“subject”:“Test message from tt-rss”,“message”:“This message confirms that tt-rss can send outgoing mail.”})
- backend.php(136): sendTestEmail()
I added to the .env file the following lines:
TTRSS_SELF_URL_PATH=xxx:8280/tt-rss
TTRSS_SMTP_SERVER=…:465 (also tried 587, both should work)
TTRSS_SMTP_LOGIN=…
TTRSS_SMTP_PASSWORD=…
TTRSS_SMTP_SECURE=ssl (also tried tls)
HTTP_PORT=8280
With these settings I can send emails with the email client running on the web server. I can also ping the email server from within the container ttrss-docker_app_1.
- Tiny Tiny RSS version (including git commit id):
v22.05-d391a01
- Platform (i.e. Linux distro, Docker, PHP, PostgreSQL, etc) versions:
Kubuntu 22.04 LTS, Docker 20.10.16,
Any idea what’s going wrong? Thank you very much for your advice.
fox
2
you need to enable plugin globally via .env:
TTRSS_PLUGINS=auth_internal,mailer_smtp
this means it’s not loaded, basically.
Bert1
3
Guess what? It works!! Thank you very much for your prompt advice!!