Do SPF Records For Primary Domain apply to subdomains?

You need to have separate SPF records for each subdomain you wish to send mail from. The following was originally posted on openspf.org, which used to be a great resource for this kind of thing. Latest link http://www.open-spf.org/FAQ/The_demon_question/ The Demon Question: What about subdomains? If I get mail from pielovers.demon.co.uk, and there’s no SPF data … Read more

Create mail form using PHPmailer

I suggest you first of all to separate code from markup, especially dividing your executing file like the function support_form(). Next, please try to send email without form with hard coded message. It is possible you have mis-configuration on your server if you developing on local machine. And finally, you should fill action attribute for … Read more

Different SMTP based on domain

I believe what you need is the phpmailer_init action hook. Here is an something you can do. add_action( ‘phpmailer_init’, ‘custom_smtp_settings’ ); function custom_smtp_settings( $phpmailer ) { $phpmailer->isSMTP(); switch ($_SERVER[‘HTTP_HOST’]) { case ‘example1.com’: //name only, no http $phpmailer->Host=”smtp.example1.com”; $phpmailer->SMTPAuth = true; // Force it to use Username and Password to authenticate $phpmailer->Port = 25; $phpmailer->Username=”example1″; $phpmailer->Password … Read more

Easy WP SMTP plugin test email failed

If you want to configure Gmail account, you need to fill Encryption type: SSL Port: 465 Requires Authentication: Yes Or you can try https://wordpress.org/plugins/wp-mail-bank/. This would help you in authenticating the Gmail account using oAuth.