google.com: XXX.XXX.XXX.XXX is neither permitted nor denied by best guess record for domain of [email protected]

If you are using mail() to send an email, with PHP, and you are getting the following error…

spf=neutral (google.com: 69.55.XXX.XXX is neither permitted nor denied by best guess record for domain of [email protected]) [email protected]
Return-Path: <[email protected]>

You can force the ‘mailfrom’ by adding -f[email protected], after the headers.

$send = mail($to, $subject, $message, implode("\r\n", $headers), '-f'.$from);

CPANEL – Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server

(XID h96ukf) Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.

Looks like we can disable this verification on CPANEL.
WHM > Server Setup > Tweak Settings

  • Allow Creation of Parked/Addon Domains that are not registered
  • Allow Creation of Parked/Addon Domains

WooCommerce – change Related Products title

// Change WooCommerce related products title
add_filter('gettext', 'change_relatedproducts_title', 10, 3);
add_filter('ngettext', 'change_relatedproducts_title', 10, 3);
function change_relatedproducts_title($translated, $text, $domain)
{
     if ($text === 'Related products' && $domain === 'woocommerce')
         $translated = esc_html__('Check out our other products', $domain);
     return $translated;
}