Activation Email Coming with via server host name(email@example.com via server_h
When we register through budypress default registration through one of my client site
Everytime i am getting email with header via server host name(firstname.lastname@example.org via server_hostname).
What i have done till now.
In Change My Child theme.
1)add_filter( ‘bp_email_set_from’, ‘filter_bp_email_set_from’, 10, 4 );
2)Set WP SMTP For email.
3)add_filter( ‘wp_mail_from’, ‘wpb_sender_email’ ); –add my theme function.php
4)add_filter( ‘wp_mail_from_name’, ‘wpb_sender_name’ );–add my theme function.php
5)Also WordPress Include Plugable.php i have remove the from name and email and set admin_email
Please suggest what i have to do to resolve this problem.
- You must be logged in to reply to this topic.