Replies: 1 comment
-
Hi, it's true that the The easiest option may be to use |
Beta Was this translation helpful? Give feedback.
-
Hi, it's true that the The easiest option may be to use |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am noticing emails were not being sent (password-reset/analysis reports). Digging around the mail settings in the
.env
file suggested that commenting outMAIL_DRIVER
would default to the PHP's mail(). I think that would work out nicely for me since I probably need to send only a few emails a month (and I assume my institute won't want me to use an external email service).That config leads to:
production.ERROR: Connection could not be established with host "smtp.mailgun.org:587"
Which makes sense after looking into
config/mail.php
, as'smpt'
is the default driver (and mailgun:587 are the default host:port for smpt).From the list of drivers, I thought maybe
sendmail
would work, I tryMAIL_DRIVER="sendmail"
, which unfortunately, leads to a 500 Internal Server Error.production.ERROR: Unable to write bytes on the wire. {"exception":"[object] (Symfony\\Component\\Mailer\\Exception\\TransportException(code: 0): Unable to write bytes on the wire. at /var/www/vendor/symfony/mailer/Transport/Smtp/Stream/AbstractStream.php:50)
Suspecting the option is deprecated, I tried interacting with
sendmail
docker compose exec -it app /usr/sbin/sendmail
only to get:
sendmail: can't connect to remote host (127.0.0.1): Connection refused
So
/usr/sbin/sendmail
is indeed installed in theapp
container, but perhaps there needs to be a mail daemon running? At this point, not knowing much about sendmail, not understanding how its supposed to interact with Biigle, and not having having bash to play in container, I decided to post a question here. :)Thanks for any suggestions!
Beta Was this translation helpful? Give feedback.
All reactions