I take screen shots of completed work and attach them to the invoice so the customer can see proof of the work. but when i try to email the invoice i get this error “500: Internal Server Error • Server Error”. if i remove the attachment the email goes thru.
The attachment gets uploaded to the client portal.
Hi,
Are there any details about the error in storage/logs?
[2024-09-18 07:34:16] production.ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 942080 bytes) {“userId”:1,“exception”:"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Allowed memory size of 134217728 bytes exhausted (tried to allocate 942080 bytes) at /home/digital/public_html/invoicing.XXXXXX.com/vendor/laravel/framework/src/Illuminate/Mail/SentMessage.php:80)
[stacktrace]
#0 {main}
"}
I suggest trying to increase the server’s PHP memory limit
1 Like
Yep, that fixed it thanks
1 Like