Closed richdynamix closed 3 months ago
You should not use null
as the MAIL_USERNAME
as Herd uses the "username" as the name of the inbox in the mail UI.
It works when you use: MAIL_USERNAME="${APP_NAME}"
instead.
Ah perfect. That has worked. Apologies. I never noticed this before. I don't think this was application was created with Herd. I'll remember this one. Thanks @mpociot
Platform
macOS
Operating system version
macOS Sonoma 14.2.1
System architecture
Intel (x86)
Herd Version
1.6.1 (Build: 25)
PHP Version
PHP 8.3.7 (cli) (built: May 10 2024 12:59:07) (NTS)
Bug description
When trying to send a basic Laravel notification to a group of users, the Herd Mail UI shows 2 emails and the web UI produces the following error -
Having tested this within my application code and a basic routes file I can confirm the error is only present with Herd Pro Mail. When using Mailpit, all emails are sent immediately.
Steps to reproduce
ENV
web.php
NewComment
You will see this
NewComment
notification is the boilerplate notification created withphp artisan make:notification
Relevant log output