• Resolved DIYNaturally2020

    (@sewista2014)


    I am hosting with cloudways and using SendinBlue as my smtp for emails
    I am using the Elementor Builder with Astra Theme

    I have set up a sender (DIY Naturally – [ redundant link removed ]), but when emails are sent, the “from” address shows as [ email deleted ] and the “reply to” as [ email deleted ]

    My website was previously hosted on another domain, but it has been moved over to my current domain for more than a year. I have already logged a query with SendinBlue and they believe the problem must be wordpress/woocommerce related.

    When researching possible issues, I have found a fix where adding the following code to the functions.php file were supposed to rectify the issue, but even after implementing this, I still have the same issue.
    **The code added to functions.php is as follow:

    // Function to change email address
    function wpb_sender_email( $original_email_address ) {
        return '<em>[ email deleted ]</em>';
    }
     
    // Function to change sender name
    function wpb_sender_name( $original_email_from ) {
        return 'DIY Naturally';
    }
     
    // Hooking up our functions to WordPress filters 
    add_filter( 'wp_mail_from', 'wpb_sender_email' );
    add_filter( 'wp_mail_from_name', 'wpb_sender_name' );

    Please can you advise if this issue can be rectified via a setting in wordpress that I maybe haven’t found? Or is there maybe something else causing this issue?

    Your help will be much appreciated.

    • This topic was modified 2 years, 10 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
    • This topic was modified 2 years, 10 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • SI

    (@santanainniss)

    Hello there!

    I’m happy to try and help with this. Thank you for all the GREAT background info on what you’ve already tried.

    Have you by chance taken a look at the master settings for the SendinBlue plugin? I have run into this issue in the past where a master “from/to” setting overrides changes made at the individual email level.

    I’m sure you’ve already tried that–but I just want to make sure before diving deeper!

    Thank you!

    • This reply was modified 2 years, 10 months ago by SI.
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Everything else WordPress topic.

    Don’t post email addresses again.

    Thread Starter DIYNaturally2020

    (@sewista2014)

    @santanainniss thank you for your reply. I have worked through all my SendinBlue settings with their support team, both those on their site as well as the plugin on my site and all those are set up correctly. SendinBlue support are conviced its a wordpress setting overriding the “from” email address.

    I only started using SendinBlue after I had moved to the new domain. On the old domain and when I started on the new domain, I was using mailchimp.

    @jdembowski my apologies and thank you, I wasn’t sure where to post it.

    SI

    (@santanainniss)

    @sewista2014 I’ve added Sendinblue to a test site to try and replicate the error and I’m not having luck.

    I wonder if someone else in the WP community has come across this specific issue and can lend a hand?

    Thread Starter DIYNaturally2020

    (@sewista2014)

    @santanainniss I have this nagging feeling its caused by something in the code of the site and I have no idea where to start searching. nevermind how to access the code when hosting with cloudways.

    that Wrong old email address used to be the admin email of my website when I was using the old domain. I then migrated the website to the new domain, and just updated the admin emain in settings->general, as well as in my woocommerce. Later I moved to cloudways and then only started using sendinblue. I am going to dig into my admin emailbox and see if I can see if it was ever using the correct from email, since moving domains.

    I guess this is not the hugest problem to have, but I would really like to stop using the old domain completely, but scared I then wont get my emails….

    Currently the old domain is redirecting to the new domain, (setup my my domain host)

    Thread Starter DIYNaturally2020

    (@sewista2014)

    @santanainniss

    I am happy to report that we have found and managed to correct the issue.
    
    It seems that when we moved the database from the old domain to the new one, the email addresses (a few different ones) never updated to the new domain.
    Even though I only started using SendinBlue AFTER moving to the new domain and AFTER the admin email was updated to the new domain.  The SendinBlue plugin does not override the database to the email address set up via the plugin. 
    
    To resolve the issue we have downloaded a backup from the website, from which we extracted the database file and then manually edited the core setup emails including the one referring to relaying via SendinBlue.
    We did not edit any emails relating to old orders/emails already sent.
    We transferred the file back and restored it to the website.
    For downloading and restoring we used Updraftplus via the wp-admin dashboard.
    
    I have sent emails to check and even created a dummy order and the sender now seems to be correct.

    I was scared that changing (even something simple as an email address) would break the site, but thankfully the edits we did doesn’t seem to have affected the rest of the website.

    SI

    (@santanainniss)

    @sewista2014 I am SO glad to hear this! And thank you so much for updating me/the community. I’m sure lots of folks will benefit from reading your solution.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘the “from” email is not my configured sender email address’ is closed to new replies.