[wp-trac] [WordPress Trac] #55631: Could not instantiate mail function.
WordPress Trac
noreply at wordpress.org
Wed Apr 27 16:40:09 UTC 2022
#55631: Could not instantiate mail function.
----------------------------+-----------------------------
Reporter: kanhaiya122108 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 5.9.3
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
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 at 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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55631>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list