Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Membership › Membership email 'from'
- This topic has 5 replies, 3 voices, and was last updated 6 years, 7 months ago by Bingal.
- AuthorPosts
- March 28, 2018 at 9:41 am #20994JimGuest
Is there a way of changing the address that new membership notification emails are sent from? Currently it seems to be wordpress@domain, and I want it to be admin@domain as the rest of my woocommerce emails are. Thanks.
- March 30, 2018 at 10:00 am #21086BingalMember
Hi,
Kindly change your WP admin email. You can do this from wp-admin -> Settings -> General
Thank You
- April 2, 2018 at 12:48 pm #21202JimGuest
Yep, this was already set. And all other emails work fine and come from Admin. But, for some reason, just the emails from the membership plugin still are addressed from ‘wordpress@’
- April 3, 2018 at 6:03 am #21222WCFM ForumMember
Hi,
Can you please try this –
add_filter( 'wp_mail_from', 'my_mail_from' ); function my_mail_from( $email ) { return "change-this-to-your-email-address"; }
Thank You
- April 3, 2018 at 5:21 pm #21233JimGuest
Thanks, that worked for the @email address, but the person it came from still says “WordPress” not my domain name.
Is the
“change-this-to-your-email-address”
the only bit I need to modify? - April 3, 2018 at 8:42 pm #21248BingalMember
Hi,
Yeah right, you have to set your email address there.
You may also change From name as well, add this code for the purpose –
add_filter('wp_mail_from_name', 'new_mail_from_name'); function new_mail_from_name($old) { return 'your name or your website'; }
Same here replace your website name.
Thank You
- AuthorPosts
- The topic ‘Membership email 'from'’ is closed to new replies.