Mail function is messed up
Hey,
I was using the easy appointments plugin and everything was working well, the admin receives an email when a reservation is made. But the customer doesn't receive any.
I have look around on the forum and seen that the first question you ask is what is printed in the settings -> Tools
------------ ERROR #1 ------------
TYPE: MAIL
ERRORS: {"wp_mail_failed":["Could not instantiate mail function."]}
ERRORS_DATA: {"wp_mail_failed":{"to":["","thijs@syan.nl"],"subject":"Reservation","message":"<!DOCTYPE HTML>\n<html lang=\"en\">\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text\/html;charset=UTF-8\">\n <\/head>\n <body>\n <p>Uw reservering is geannuleerd<\/p>\n <\/body>\n<\/html>","headers":[],"attachments":[],"phpmailer_exception_code":2}}
---------- ERROR #1 END ---------- Thx for your time
------------ ERROR #1 ------------
TYPE: MAIL
ERRORS: {"wp_mail_failed":["Could not instantiate mail function."]}
ERRORS_DATA: {"wp_mail_failed":{"to":["","thijs@syan.nl"],"subject":"Reservation","message":"<!DOCTYPE HTML>\n<html lang=\"en\">\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text\/html;charset=UTF-8\">\n <\/head>\n <body>\n <p>Uw reservering is geannuleerd<\/p>\n <\/body>\n<\/html>","headers":[],"attachments":[],"phpmailer_exception_code":2}}
---------- ERROR #1 END ---------- Thx for your time
2 Answers
Hi looks like there are some issues with hosting mail function. Look at this part:
[“Could not instantiate mail function.”]Can you please open EA Settings > Tools page and try sending test emails. Best regards, Nikola
Hi, i know this thread is old, but i have the same issue where i get the error "could not instantiate mail function"
the test email also does not go through
sorry, i have created a new question https://easy-appointments.com/support/error-could-not-instantiate-mail-function/
apologies
Please login or Register to submit your answer