Mail adress for the notifications

Home Forums Legacy Support Support queries How-to & Troubleshooting Mail adress for the notifications

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #233152
    annasivo
    Participant
    Hello, I've set the touch points, and now testing the messages in the courses. The email adress of the notification seem to be different from what I put in the settings. Why could it be happening? Can I fix it? Thank you
    #233154
    annasivo
    Participant
    This reply has been marked as private.
    #233287
    logan
    Member

    Hey,

    Please add this php code in your wplms-customizer.php file of the wplms-customizer plugin.

    add_filter('wp_mail_from', 'new_mail_fromqw');

    add_filter('wp_mail_from_name', 'new_mail_from_nameqw');

    function new_mail_fromqw($old) {

    return '[email protected]';

    }

    function new_mail_from_nameqw($old) {

    return 'site name';

    }

    #233295
    annasivo
    Participant
    Just did it and now the test message doesn't arrive :(
    #233388
    logan
    Member
    Hello, what's the problem.
    1. you are not receiving the emails
    0r 2. mail is coming from WordPress email??
    i have given you the code to remove the WordPress from the email and whatever you write here: http://prntscr.com/pwpmai this will be in the email you will receive in the future.
    #233466
    annasivo
    Participant
    Hi Logan, I wanted to remove the word "Wordpress" from the email adress of the notifications that users receive. Probably I scewed it up when inserting the code you provided (I inserted it in the wplms-customizer.php file in  public_html/wp-content/plugins/wplms-customizer) the email notifications just stopped working, so I had to remove the code. .  Did I do it wrong? Could you help please? :)    
    #233534
    logan
    Member
    no that's not right. you have done a great job. this could be anything. perhaps character encoding while you're copying and pasting.
    please have a look on this tip: https://www.wpbeginner.com/plugins/how-to-change-sender-name-in-outgoing-wordpress-email/ else share the wp-admin creds in a private reply. i will have a look.
    #233632
    annasivo
    Participant
    This reply has been marked as private.
    #233672
    logan
    Member
    Dear Anna, i need wordpress dashboard site url and credentials too.
    #233711
    annasivo
    Participant
    This reply has been marked as private.
    #233831
    logan
    Member
    Hello, anna, it is working now, i have tried thrice: http://prntscr.com/pyi1co and this: http://prntscr.com/pyi26x
    final code used by me: add_filter('wp_mail_from', 'new_mail_fromqw'); add_filter('wp_mail_from_name', 'new_mail_from_nameqw'); function new_mail_fromqw($old) { return '[email protected]'; } function new_mail_from_nameqw($old) { return 'site name'; } add_filter( 'bp_email_use_wp_mail', '__return_true ' );
    #233859
    annasivo
    Participant
    Beautiful! ٩(^ᴗ^)۶ Thank you!
    #233875
    logan
    Member

    Dear Friend,

    Glad you’re enjoying the theme & support – thanks for using it! 🙂

    Please write your review. I would really appreciate that! Here: https://themeforest.net/item/wplms-learning-management-system/reviews/6780226

    If I can be of assistance, please do not hesitate to contact me again.

    Closing this topic.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Mail adress for the notifications’ is closed to new replies.