Hello wpForo Support,
I need help with the email sender name in 168Forum or Chinese Name
My website is 168forum.my and I want outgoing forum registration emails to show the sender name as 168Forum, but in Gmail the email heading still shows WordPress.
What I already checked:
-
I went to wpForo → Settings → Email Settings
-
I changed From Name to 168Forum
-
I set From Email to my domain email
-
I enabled Overwrite WordPress New User Registration Email for Users
-
I also enabled Overwrite WordPress New User Registration Email for Admins
However, the registration email still appears as being sent from WordPress instead of 168Forum.
Could you please confirm:
-
Whether wpForo can fully control the sender name for registration emails
-
Whether this is expected behavior from WordPress core email functions
-
Whether I need an extra filter, hook, or SMTP setting to change the sender name
-
Whether another wpForo setting is required for this to work properly
If needed, I can provide screenshots of my wpForo Email Settings page.
Thank you.
Hi @simon000000,
wpForo has control only over the wpForo emails. The one you show on screenshot is the User registration or password reset email. This is the WordPress core email and that should be changed by either a WordPress plugin or using a code snippet:
add_filter( 'wp_mail_from', 'change_default_sender_email' );
function change_default_sender_email( $email ) {
return 'your-email@example.com';
}
add_filter( 'wp_mail_from_name', 'change_default_sender_name' );
function change_default_sender_name( $name ) {
return 'Your Sender Name';
}