#55631 closed defect (bug) (invalid)
Could not instantiate mail function.
Reported by: | kanhaiya122108 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Keywords: | ||
Focuses: | Cc: |
Description
Recently I'm getting the following error.
WP_Error Object ( [errors] => Array ( [wp_mail_failed] => Array ( [0] => Could not instantiate mail function. ) ) [error_data] => Array ( [wp_mail_failed] => Array ( [to] => Array ( [0] => testgmail@gmail.com ) [subject] => The subject [message] => The email body content [headers] => Array ( ) [attachments] => Array ( ) [phpmailer_exception_code] => 2 ) ) [additional_data:protected] => Array ( ) )
I have changed the 'To' email for example above. I also check with hosting and they have mail() enable.
waiting for response.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @kanhaiya122108, welcome to Trac!
Let us know whether your issue is fixed after following this PHPMailer troubleshooting guide on this error.