Okay
  Public Ticket #3559763
change the Default Email Sender
Closed

Comments

  • nipalhussein started the conversation

    How can I change the Default Email Sender and host in all emails?

    5367582446.png

  • [deleted] replied

     add this code in wp-admin > Plugins > editor > Select WPLMS Customizer Plugin > wplms-customizer.php // Optionally change your email address

    add_filter('wp_mail_from','noreply_from');
    function noreply_from($from) {
    return 'noreply@YOUR_DOMAIN.org'; //Replace 'YOUR_DOMAIN.org' with email address
    }
    // Optionally change your from name
    add_filter('wp_mail_from_name','noreply_from_name');
    function noreply_from_name($name) {
    return 'YOUR_DOMAIN No-Reply';  //Replace ‘YOUR_DOMAIN No-Reply’ with the name you want to show
    }
  • nipalhussein replied

    The first one worked great, but is there a way to change this one?

    5413782675.png
  • [deleted] replied

    Well this cannot be changed its mail server identification . 

    You need to contact web host for this.

  • nipalhussein replied

    Thanks a lot!

    You can close the ticket.