Closed TheSpecialist1 closed 10 months ago
@TheSpecialist1 thank you for reporting this bug. This was an issue with the new MAIL_SAVE_TO_SENT_ITEMS configuration option. You can fix this by updating to the newest version or updating your mail.php config
'microsoft-graph' => [
'transport' => 'microsoft-graph',
'client_id' => env('MICROSOFT_GRAPH_CLIENT_ID'),
'client_secret' => env('MICROSOFT_GRAPH_CLIENT_SECRET'),
'tenant_id' => env('MICROSOFT_GRAPH_TENANT_ID'),
'from' => [
'address' => env('MAIL_FROM_ADDRESS'),
'name' => env('MAIL_FROM_NAME'),
],
'save_to_sent_items' => env('MAIL_SAVE_TO_SENT_ITEMS', false),
],
What happened?
I'm getting this error when trying to send an email out.
2023-10-25 03:30:13] local.ERROR: HTTP request returned status code 500: {"error":{"code":"ErrorInternalServerError","message":"An internal server error occurred. The operation failed."}} {"exception":"[object] (Illuminate\Http\Client\RequestException(code: 500): HTTP request returned status code 500: {\"error\":{\"code\":\"ErrorInternalServerError\",\"message\":\"An internal server error occurred. The operation failed.\"}}
How to reproduce the bug
try to send email
Package Version
latest
PHP Version
8.2
Laravel Version
10.0
Which operating systems does with happen with?
macOS
Notes
2023-10-25 03:30:13] local.ERROR: HTTP request returned status code 500: {"error":{"code":"ErrorInternalServerError","message":"An internal server error occurred. The operation failed."}} {"exception":"[object] (Illuminate\Http\Client\RequestException(code: 500): HTTP request returned status code 500: {\"error\":{\"code\":\"ErrorInternalServerError\",\"message\":\"An internal server error occurred. The operation failed.\"}}