- Issue created by @hgeshev90
Here is a solution for the error in the issue. Change of removed method guess() to the new one: guessMimeType.
For D10 compatibility, update the method for guessing the mime type of images
Currently when I try to test it with the build in test of the mailjet_api module and chose to include a attachment, I see a HTT 500 with the following error:
The website encountered an unexpected error. Try again later.
Error: Call to undefined method Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser::guess() in Drupal\mailjet_api\MailjetApiHandler->buildMessagesBody() (line 350 of modules/contrib/mailjet_api/src/MailjetApiHandler.php).
Active
1.0
Code
Here is a solution for the error in the issue. Change of removed method guess() to the new one: guessMimeType.