Okay
  Public Ticket #3142524
Buddypress emails
Closed

Comments

  • amiir started the conversation

    Hello

     I disabled wp mail smtp 

    I activated buddypress emails It worked but Emails are sent in the name of WordPress As shown in the attached picture

  • amiir replied

    How do I get her to send emails using my website name?

  • [deleted] replied

    add this code in your wplms-customizer.php file in wplms customizer plugin : 

    add_filter('wp_mail_from', 'new_mail_fromqw',99999);
    add_filter('wp_mail_from_name', 'new_mail_from_nameqw',99999);
    function new_mail_fromqw($old) {
    return '[email protected]';
    }
    function new_mail_from_nameqw($old) {
    return 'site name';}

    replcw site name and site.com with your site.

  • amiir replied

    I added the code
    But I got an error code in the first line of the code
    When I try to update the wplms customizer plugin is gone
    When you try to install it again, it takes a very long time without installing
    Attach this message with permission to enter

  •   amiir replied privately