SMTP Email configuration generate error #4715

Closed
opened 2026-02-05 09:12:09 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Thomas-Lecuppre on GitHub (Apr 30, 2024).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I configured the SMTP email service like the docs but, when trying to send an email from the web gui, I always get the same error and no logs in laravel.log file (and yes I set the right permission to those folder as asked in docs)

Here is the error message
image

Here is my config in .env file :

MAIL_DRIVER=smtp
MAIL_HOST=ssl0.ovh.net
MAIL_PORT=465
MAIL_USERNAME=contact@mydomain.ovh
MAIL_PASSWORD=mypassword
MAIL_ENCRYPTION=tls
MAIL_VERIFY_SSL=true (test with and without and with true and false, changged nothing)

I also got a nextcloud app on my network that use those same credentials and I could get email from it.

image

Exact BookStack Version

24.02.3

Log Content

No log generated..

Hosting Environment

Ubuntu server 22.04.4_amd64

Originally created by @Thomas-Lecuppre on GitHub (Apr 30, 2024). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario I configured the SMTP email service like the docs but, when trying to send an email from the web gui, I always get the same error and no logs in laravel.log file (and yes I set the right permission to those folder as asked in docs) Here is the error message ![image](https://github.com/BookStackApp/BookStack/assets/71729025/a01b7c32-6a8b-4db3-9ce3-26dc9c5e0e20) Here is my config in .env file : MAIL_DRIVER=smtp MAIL_HOST=ssl0.ovh.net MAIL_PORT=465 MAIL_USERNAME=contact@mydomain.ovh MAIL_PASSWORD=mypassword MAIL_ENCRYPTION=tls MAIL_VERIFY_SSL=true (test with and without and with true and false, changged nothing) I also got a nextcloud app on my network that use those same credentials and I could get email from it. ![image](https://github.com/BookStackApp/BookStack/assets/71729025/ad051189-1471-46d4-83d2-5dd8c5824536) ### Exact BookStack Version 24.02.3 ### Log Content No log generated.. ### Hosting Environment Ubuntu server 22.04.4_amd64
OVERLORD added the 🐕 Support label 2026-02-05 09:12:09 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4715