Membership email 'from'

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 5 reply threads
  • Author
    Posts
    • #20994
      Jim
      Guest

      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.

    • #21086
      Bingal
      Member

      Hi,

      Kindly change your WP admin email. You can do this from wp-admin -> Settings -> General

      Thank You

    • #21202
      Jim
      Guest

      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@’

    • #21222
      WCFM Forum
      Member

      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

    • #21233
      Jim
      Guest

      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?

    • #21248
      Bingal
      Member

      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

Viewing 5 reply threads
  • The topic ‘Membership email 'from'’ is closed to new replies.