We can fix the error “sender email address does not belong to the site domain.” by changing the email address.
We need the same domain name for From input field on the Mail tab.
Here website domain name is wpdebuglog.com and From is email@example.com
We can fix it, by changing firstname.lastname@example.org to email@example.com
It will reduce the risk of spoofing.
Install WordPress Email Log – PostBox
- Go to wp-admin > plugins then search “Email Log – PostBox” and install it.
2. Click on WP-admin > email log (Sidebar). Now you can see complete email data. It will capture all default WordPress outgoing email data.
Now we can see email headers (bcc, cc, reply-to), body, etc