Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Mail adress for the notifications
Tagged: mail notifications
- This topic has 12 replies, 2 voices, and was last updated 4 years, 5 months ago by logan.
-
AuthorPosts
-
November 12, 2019 at 11:54 am #233152annasivoParticipantHello, 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 youNovember 12, 2019 at 12:00 pm #233154annasivoParticipantThis reply has been marked as private.November 13, 2019 at 9:56 am #233287loganMember
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';
}
November 13, 2019 at 10:24 am #233295annasivoParticipantJust did it and now the test message doesn't arrive :(November 14, 2019 at 6:00 am #233388loganMemberHello, what's the problem.- you are not receiving the emails
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.November 14, 2019 at 1:49 pm #233466annasivoParticipantHi 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? :)November 15, 2019 at 5:06 am #233534loganMemberno 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.November 15, 2019 at 2:05 pm #233632annasivoParticipantThis reply has been marked as private.November 16, 2019 at 4:43 am #233672loganMemberDear Anna, i need wordpress dashboard site url and credentials too.November 16, 2019 at 10:36 am #233711annasivoParticipantThis reply has been marked as private.November 18, 2019 at 11:33 am #233831loganMemberHello, 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 ' );November 18, 2019 at 12:49 pm #233859annasivoParticipantBeautiful! ٩(^ᴗ^)۶ Thank you!November 18, 2019 at 1:16 pm #233875loganMemberDear 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.
-
AuthorPosts
- The topic ‘Mail adress for the notifications’ is closed to new replies.