WordPress.org

Ready to get started?Download WordPress

Forums

WP-CRM - Customer Relations Management for WordPress
Send from on Email- how do I overwrite WordPress as Sender (3 posts)

  1. MTWK-Applied
    Member
    Posted 1 year ago #

    I have added a 'Send from' email to my notifications on my forms. But when I actually receive the notifications, I'm getting WordPress as the Sender. How do I overwrite that? Not seeing anything in the settings.

    http://wordpress.org/extend/plugins/wp-crm/

  2. MTWK-Applied
    Member
    Posted 1 year ago #

    I also changed the default admin email. That's not working either.

  3. CreativeCaro
    Member
    Posted 10 months ago #

    You can overwrite this by modifying the functions.php file that is located within your theme.

    This file can be accessed via Appearance ->Editor and look for Theme functions OR by FTP wp-content/themes/whatevertheme/functions.php

    Add the following (but modify "admin@domainaddress.com" and "Your Blog" to match what you want the display email address and 'from' field to show)

    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@domainaddress.com';
    }
    function new_mail_from_name($old) {
     return 'Your Blog';
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.