Mar 24, 2021 11:25 am
Despite I wrote my email to the "email settings" inside the "email from" place, It's sending registration emails from wordpress@mysite.com
Any idea how to change it? Some emails go to spam and I think that can be the reason.
thanks in advance.
2 Replies
Mar 24, 2021 2:16 pm
Hi @germanjv
follow this post Registration email FROM address is wordpress@mydomain.com
you can also use this plugin CB Change Mail Sender
Mar 24, 2021 3:50 pm
i did so. add code to functions.php your theme
function custom_mail($email) { return 'no-reply@domen.com'; } function custom_name($email){ return 'Forum bla bla bla'; } add_filter('wp_mail_from', 'custom_mail'); add_filter('wp_mail_from_name', 'custom_name');
*no-reply@domen.com - the email you want (needed)
**Forum bla bla bla - this text will be displayed in the "email subject" field