WordPress.org

Ready to get started?Download WordPress

Forums

Simplr Registration Form Plus+
Email FROM wordpress not my site (3 posts)

  1. pelikan79
    Member
    Posted 1 year ago #

    Hi,

    Where can I change the FROM name from the current WordPress to my sites name?

    Every time an email goes out after the registration and activation it shows that the email came from WordPress. I want to put my sites name there instead.

    Please let me know.

    Thanks.
    pelikan79

    http://wordpress.org/extend/plugins/simplr-registration-form/

  2. john
    Member
    Posted 1 year ago #

    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';
    }
  3. pelikan79
    Member
    Posted 1 year ago #

    Thank you it is perfect now! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.