[wp-trac] [WordPress Trac] #49815: Suggestion for adding site health test
WordPress Trac
noreply at wordpress.org
Wed Apr 15 14:12:52 UTC 2020
#49815: Suggestion for adding site health test
-----------------------------+----------------------
Reporter: agla | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Site Health | Version: 5.3.2
Severity: normal | Resolution: invalid
Keywords: | Focuses:
-----------------------------+----------------------
Changes (by Clorith):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hi there, and welcome to the WordPress trac!
Unfortunately, to test emails, you need to actually send a message.
There's no reliable way to send an email automatically and verify that it
was sent as expected. It would be possible to time it, but then you'd
still need a recipient, and it could not be a scheduled event like other
checks.
As for the hostname being qualified or not, this is also different from
server to server, as it is possible to set up a server to work wit ha non-
qualified one for internal reference purpose.
This is a prime opportunity to test through a plugin though, the
[https://wordpress.org/plugins/health-check/ Health Check plugin] already
has a tool for testing email functionality, and extending it to test for
timing as well seems like a good direction.
I've opened https://github.com/WordPress/health-check/issues/376 for this
purpose.
As the issue it self is not really solvable by core, I'm closing the
ticket it self (unfortunately the keyword for that resolution is
`invalid`, although the intent and problem are both valid, so apologies
for the confusing terminology there).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49815#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list