Mail doesn't send. #1178

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

Originally created by @ChristiaanDev on GitHub (May 8, 2019).

Describe the bug
Copied my SMTP settings from Thunderbird (works properly there), set up the .env variables properly and I'm still getting: Email confirmation required but the system could not send the email. Contact the admin to ensure email is set up correctly.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Sign up' and enter all fields.
  2. Click on 'Create Account'

Expected behavior
Bookstack to properly send e-mails.

Actual behavior
Bookstack warns that it couldn't send an e-mail.

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): BookStack v0.25.2
  • PHP Version: PHP 7.1.27
  • Hosting Method (Nginx/Apache/Docker): Docker

Additional context
- MAIL_DRIVER=smtp
- MAIL_HOST=mail.*****************
- MAIL_PORT=587
- MAIL_FROM=wiki@*****************
- MAIL_FROM_NAME=Wiki
- MAIL_USERNAME=wiki@*****************
- MAIL_PASSWORD=*****************
- MAIL_ENCRYPTION=tls

Originally created by @ChristiaanDev on GitHub (May 8, 2019). **Describe the bug** Copied my SMTP settings from Thunderbird (works properly there), set up the .env variables properly and I'm still getting: ``Email confirmation required but the system could not send the email. Contact the admin to ensure email is set up correctly.`` **Steps To Reproduce** Steps to reproduce the behavior: 1. Go to 'Sign up' and enter all fields. 2. Click on 'Create Account' **Expected behavior** Bookstack to properly send e-mails. **Actual behavior** Bookstack warns that it couldn't send an e-mail. **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): BookStack v0.25.2 - PHP Version: PHP 7.1.27 - Hosting Method (Nginx/Apache/Docker): [Docker](https://hub.docker.com/r/solidnerd/bookstack) **Additional context** ` - MAIL_DRIVER=smtp` `- MAIL_HOST=mail.*****************` `- MAIL_PORT=587` `- MAIL_FROM=wiki@*****************` `- MAIL_FROM_NAME=Wiki` `- MAIL_USERNAME=wiki@*****************` `- MAIL_PASSWORD=*****************` `- MAIL_ENCRYPTION=tls`
Author
Owner

@Buddster124 commented on GitHub (Nov 6, 2019):

Did you fix this issue? I am having the same problem, is there a solution? Any help would be greatly appreciated.

@Buddster124 commented on GitHub (Nov 6, 2019): Did you fix this issue? I am having the same problem, is there a solution? Any help would be greatly appreciated.
Author
Owner

@ANewAnonymous commented on GitHub (Jan 3, 2020):

Did you fix this issue? I am having the same problem, is there a solution? Any help would be greatly appreciated.

I've had the same problem. What a hassle.Why don't you even test the ability to send an email, and you don't get any logs when you fail to send an email?How do you detect errors?

@ANewAnonymous commented on GitHub (Jan 3, 2020): > Did you fix this issue? I am having the same problem, is there a solution? Any help would be greatly appreciated. I've had the same problem. What a hassle.Why don't you even test the ability to send an email, and you don't get any logs when you fail to send an email?How do you detect errors?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1178