[2023-05-02 09:07:11] production.INFO: Using mailer => log
[2023-05-02 09:07:11] production.INFO: error failed with An email must have a “From” or a “Sender” header.
I used the correct settings but still won’t work. Removed the MAIL_Password
MAIL_MAILER=smtp
MAIL_HOST=smtp.office365.com
MAIL_PORT=587 [email protected]
MAIL_PASSWORD=
MAIL_ENCRYPTION=TLS [email protected]
MAIL_FROM_NAME=“Info Servitweb”
but why is the error saying using mailer ==> Log while I set smtp in the env. file
OK, so I am having this same issue in my Self Hosted v5.11.37.
Errors in the log show:
*Email Failure Thu Feb 13, 2025 Email Send * “An email must have a “From” or a “Sender” header.”
From the email settings screen, when I send a test i get a timeout error
Looking at the .env file, I see NONE of the setting that I have configured on my Email Settings page.
Tried to edit the .env file to mimic the settings used by SERVITWEB and send a test and received a “Something went wrong” error.
Data input for the settings are:
Mail Provider: SMTP
From EMail: [email protected]
From Name: Conroe Mobile Notary
Reply-to Name:
Reply-to Email:
Host: conroemobilenotary.com [per my hosts configuration]
Port: 465
Encryption: SSL/TLS
Username: [proper login UID]
Password: [password, verified multiple times]
Local Domain:
BCC Email;
Send time: 0300
Verify Peer: on
I have an alternate host that is available to me … but get the same timeout error when attempting to use it.
Have used all of the encryption methods unsuccessfully.
Have set Verify Peer to off and still no success.
This used to work flawlessly with the settings I have and now it is not working. As I am not in the system regularly, I couldn’t tell when it stopped working.
In the storage | logs there is only one .log file - laravel.log - looking at it is a bunch of gibberish to me … but I don’t see anything relating to email … everything looks related to “vendor”
The mail config directly in the .env file … should it look like this? And just add to the end?
Ok … so apparently the system is not liking the two “MAIL_FROM” in the .env file as when either or both are in it … the system give me an internal error, without, it appears to function, but still not sending because it doesn’t see the from or sender header.
Even set to NON-SSL configuration and am also receiving the timeout there also.
What I do know, is that it worked and now it doesn’t and I need it to work, or I will scrap it and find another way to handle my billing. Sorry, I am just frustrated, (and spent last night paying homage to the porcelain god!).Hopefully someone here can help me figure this out because I like the software!
Has to have been something in the install, as it was also not letting me perform the update. Automatic update processed this morning and everything is now working.