Mail not sending #1207

Closed
opened 2026-02-05 00:15:37 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @simplesolution on GitHub (May 29, 2019).

When configuring smtp, the registration-mail is never sended and I just get an error in the frontend. Nothing is showing up in the logs.

I've already read about this problem, but couldn't find any solutions.

Originally created by @simplesolution on GitHub (May 29, 2019). When configuring smtp, the registration-mail is never sended and I just get an error in the frontend. Nothing is showing up in the logs. I've already read about this problem, but couldn't find any solutions.
OVERLORD added the 🐕 Support label 2026-02-05 00:15:37 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jun 1, 2019):

Hi @simplesolution,
Have you configured any of the mail settings in the .env file or are they left as-is?

@ssddanbrown commented on GitHub (Jun 1, 2019): Hi @simplesolution, Have you configured any of the mail settings in the `.env` file or are they left as-is?
Author
Owner

@simplesolution commented on GitHub (Jun 1, 2019):

Hi @ssddanbrown!

I have configured following mail settings:

  • MAIL_DRIVER=smtp
  • MAIL_HOST
  • MAIL_PORT
  • MAIL_ENCRYPTION
  • MAIL_FROM
  • MAIL_FROM_NAME

I have not configured MAIL_USERNAME and MAIL_PASSWORD, since authentication is not required on our Microsoft Exchange Mail Account. But I already tried out configuring them and it did not change anything.

@simplesolution commented on GitHub (Jun 1, 2019): Hi @ssddanbrown! I have configured following mail settings: - MAIL_DRIVER=smtp - MAIL_HOST - MAIL_PORT - MAIL_ENCRYPTION - MAIL_FROM - MAIL_FROM_NAME I have not configured MAIL_USERNAME and MAIL_PASSWORD, since authentication is not required on our Microsoft Exchange Mail Account. But I already tried out configuring them and it did not change anything.
Author
Owner

@timoschwarzer commented on GitHub (Jun 4, 2019):

I have the same problem.

MAIL_DRIVER=smtp
MAIL_HOST=mail.myserver.com
MAIL_PORT=465
MAIL_USERNAME=mailgun@myserver.com
MAIL_PASSWORD=pass123
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=mailgun@myserver.com
MAIL_FROM_NAME="John Doe"

BokkStack shows that an E-Mail has been sent but it never reaches the SMTP server (according to its logs). There are no errors or whatsoever in BookStack's log files. It's really strange...

I've confirmed that my e-mail settings are correct by using the same config to send e-mails with another e-mail client like Thunderbird.

@timoschwarzer commented on GitHub (Jun 4, 2019): I have the same problem. ``` MAIL_DRIVER=smtp MAIL_HOST=mail.myserver.com MAIL_PORT=465 MAIL_USERNAME=mailgun@myserver.com MAIL_PASSWORD=pass123 MAIL_ENCRYPTION=ssl MAIL_FROM_ADDRESS=mailgun@myserver.com MAIL_FROM_NAME="John Doe" ``` BokkStack shows that an E-Mail has been sent but it never reaches the SMTP server (according to its logs). There are no errors or whatsoever in BookStack's log files. It's really strange... I've confirmed that my e-mail settings are correct by using the same config to send e-mails with another e-mail client like Thunderbird.
Author
Owner

@timoschwarzer commented on GitHub (Jun 4, 2019):

interesting note: Giving an invalid password results in a 500 (as expected). Seems like it tries to login but not actually sending the e-mail.

@timoschwarzer commented on GitHub (Jun 4, 2019): interesting note: Giving an invalid password results in a 500 (as expected). Seems like it tries to login but not actually sending the e-mail.
Author
Owner

@nimmerdk commented on GitHub (Jan 8, 2020):

We're having the same problem on our Exchange server.
And can't find anything in any log that shows error. Maybe I'm looking the wrong places, plz help.

/nimmer

@nimmerdk commented on GitHub (Jan 8, 2020): We're having the same problem on our Exchange server. And can't find anything in any log that shows error. Maybe I'm looking the wrong places, plz help. /nimmer
Author
Owner

@ssddanbrown commented on GitHub (Feb 5, 2021):

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

@ssddanbrown commented on GitHub (Feb 5, 2021): Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1207