Call to undefined function mime_content_type()
-
Hello,
I’ve run into an error with the Post SMTP plugin in combination with the Visual Form Builder Pro plugin’s option to attach a file uploaded in a form to an email.When I turn on the option in VFB Pro to attach a file I get a 500 error on the front end when submitting the form.
The error log says:
[07-Aug-2018 19:27:17 UTC] PHP Fatal error: Call to undefined function mime_content_type() in /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php on line 265I’ve tried updating php to version 7.2. Do you have any other suggestions?
Thanks for your help.
-
This topic was modified 7 years, 10 months ago by
createscape.
The page I need help with: [log in to see the link]
-
This topic was modified 7 years, 10 months ago by
-
When I updated to PHP 7.2, it gave me some additional error log info:
[07-Aug-2018 23:54:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php:265
Stack trace:
#0 /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php(160): PostmanSendGridMailEngine->addAttachmentsToMail(Object(PostmanMessage))
#1 /wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(200): PostmanSendGridMailEngine->send(Object(PostmanMessage))
#2 /wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(55): PostmanWpMail->sendMessage(Object(PostmanMessage), Object(PostmanEmailLog))
#3 /wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php(116): PostmanWpMail->send(‘info@myemailaddress…’, ‘Custom EZ Quote…’, ‘<!DOCTYPE html …’, Array, Array)
#4 /wp-content/plugins/vfb-pro/public/class-email.php(243): wp_mail(‘info@myemailaddress…’, ‘Custom in /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php on line 265Please contact me at:
https://postmansmtp.com/contact
The topic ‘Call to undefined function mime_content_type()’ is closed to new replies.