i use wp_mail function in wordpress to send mail but my email is know as spam in yahoo,..
开发者_如何学Goi use same following code
$headers = 'From: myname <myname@mydomain.com>' . "\r\n\\";
wp_mail('myemailonyahoo@yahoo.com', 'The subject', 'The message',$headers);
please give a Suggestion ?
thanks
This is probably nothing to do with wordpress and everything to do with spam protection methods ... are you allowed to send email for that domain? Trying to send from x@gmail.com will definitely get you marked as spam - google SPF records for why, then make sure you have one. Make sure your email comes from a reputable domain that's installed properly on your server.
精彩评论