Notifications
Clear all

wpForo 1.x.x [Solved] User Registration email confirmation

4 Posts
2 Users
1 Reactions
3,530 Views
pfornillo
Posts: 3
Topic starter
(@pfornillo)
Active Member
Joined: 8 years ago

 Good morning.

How do I change the destination mail and subject.

Thank you so much

3 Replies
Robert
Posts: 10590
Admin
(@robert)
Support Team
Joined: 9 years ago

This should be set from WordPress side. But unfortunately WordPress doesn't have such setting. You should put this code in active theme functions.php file. Just change the noreply@example.com and My Website Name values.


add_filter( 'wp_mail_from', function( $name ) {
    return 'noreply@example.com';
});
add_filter( 'wp_mail_from_name', function( $name ) {
    return 'My Website Name';
});
pfornillo
Posts: 3
Topic starter
(@pfornillo)
Active Member
Joined: 8 years ago

Thank you very much for your answer.

I'm going to try it

pfornillo
Posts: 3
Topic starter
(@pfornillo)
Active Member
Joined: 8 years ago

it works!

thank you very much!!!!