Support » Plugin: Simplr Registration Form Plus+ » Email FROM wordpress not my site

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hemendra

    (@vyashemendra)

    hi

    add this snippet in your theme functions file

    add_filter('wp_mail_from', 'new_mail_from');
    add_filter('wp_mail_from_name', 'new_mail_from_name');
    
    function new_mail_from($old) {
     return 'admin@yourdomain.com';
    }
    function new_mail_from_name($old) {
     return 'Your Blog Name';
    }
    pelikan79

    (@pelikan79)

    Thank you it is perfect now! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Email FROM wordpress not my site’ is closed to new replies.