The following problem:
When I send mails with mail(“mail@mail.com”, “title”, “body”) from a plugin, it works. If I want to send with Mail::rawTo(“mail@mail.com”, “body”), it only creates a log entry for me.
The mail settings are as follows (mail address changed):
Replacing the mailconfig has unfortunately not brought any success. Mails are still only saved in the log file. Do you have any other ideas or log files so that the error can be found better?
No problem. The next thing to try is to navigate to Settings → Mail Settings and click the “Reset to Default” button. This should restore the database configuration to the file-based configuration.
Thanks for your help. Unfortunately I have tried this before (and again before). Unfortunately, it still goes into the log file. This confuses me, is there a Mail.log why it goes into this file? Are normal mails also logged or must there be a mandatory setting here so that the mail is only logged?