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

  1. MTWK-Applied
    Posted 3 years 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.


  2. MTWK-Applied
    Posted 3 years ago #

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

  3. CreativeCaro
    Posted 2 years 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


No tags yet.