New answers tagged

0

Your code looks okay to me. Instead check whether email working in other part of the website or not!! Use Postman SMTP Mailer/Email Log plugin to configure / test / debug your mail system.


0

It's look OK with : html_entity_decode wp_mail("me@my.com","new article : ".html_entity_decode($get_title),"The message is OK with é è à",$headers); Not so good, another try : wp_mail("me@my.com","new article : ".$post->post_title,"The message is OK with é è à",$headers);


0

A "$" character in my password seems to be guilty ... Fix the issue by replacing: $phpmailer->Password = "xxxxx$xx"; by $phpmailer->Password = 'xxxxx$xx';


0

Yes. You can. There is several filters what you mentioned in your question. You can do it with WP Mail SMTP plugin. This plugin have multiple settings such as: Sender Name, Sender Email. This stuff working with using filters which you've mentioned. You can also setup an external SMTP server which should be using to send all emails in WordPress.



Top 50 recent answers are included