This topic has 8 replies, 2 voices, and was last updated 6 years by mbfit.

  • Author
  • #185114
     mbfit
    Participant

    Hello, in the past emails received for messages, notifications use to reflect the sites name as I think I changed something on the Dashboard to reflect that. Now email notifications say it’s from Word Press, how can I change that again? Pic of my email as a Registered User below:

    Attachments:
    You must be logged in to view attached files.
    #185116
     Kieran_SQ
    Moderator

    Hi,

    Please try the following in your SweetDate Child theme’s functions.php file, you can do so by going to WP Admin > Appearance > Editor > SweetDate Child > Functions.php

    COPY CODE
    // Change sender name
    function sq_sender_name( $original_email_from ) {
        return 'Name Here';
    }
     
    add_filter( 'wp_mail_from_name', 'sq_sender_name' );

    Change Name Here to your desired sending name.

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #185337
     mbfit
    Participant

    Yes thank you Kieran that works!

    #185435
     mbfit
    Participant

    Hi, there were a few other things I noticed and would like advice on. I uploaded 2 pics and you can see that my info gives too much and is all over the place and a good example one is plentyoffish.

    Are there quick fixes via code with this to hide or change:

    “wordpress@thelove4life.com” (wordpress@: pof uses “donotrespond@”)
    “via server.bluehost.me” (this was a temp site name until I moved name to love4life)
    “mailed-by: server.bluehost.me” (same above)
    “important according to our magic sauce” (Remove)

    I would be fine with mailed/via if it had the correct site info, and have wordpress removed from there.

    Should I contact my host provider in that regard as well?

    Any advice would be great thanks.

    Attachments:
    You must be logged in to view attached files.
    #185447
     mbfit
    Participant

    Ok I found one area to change in case anyone else comes across this:
    With Paidpro plugin installed:

    Under Memberships>Email Settings you have From Email: From Name:

    Attachments:
    You must be logged in to view attached files.
    #185452
     Kieran_SQ
    Moderator

    Hi,

    You can force a change in the email by extending the original code that I gave you like so

    COPY CODE
    // Change sender name and email
     
    function sq_sender_email( $original_email_address ) {
        return 'address@example.com';
    }
     
    function sq_sender_name( $original_email_from ) {
        return 'Name Here';
    }
     
    add_filter( 'wp_mail_from', 'sq_sender_email' );
    add_filter( 'wp_mail_from_name', 'sq_sender_name' );

    With regards to the below you should contact your host to discuss this with them as it is either set at the account or host level

    COPY CODE
    via server.bluehost.me
    mailed-by: server.bluehost.me

    With regards to “important according to our magic sauce” you’d have to contact the overlords at Google for that one – they have many reasons for marking email as important and this is one of them.

    COPY CODE
    Important mainly because of the words in the message. 
    Important mainly because of the people in the conversation. 
    Important mainly because of your interaction with messages in the conversation. 
    Important because you marked it important. 
    Important mainly because it was sent directly to you. 
    Important mainly because you often read messages with this label.
    Important according to our magic sauce.

    Note: as per your above reply, a send from address can be overridden by a plugin therefore you should always check the configuration of all of your plugins in case they send from spammy.address@yourdomain.com

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #186951
     mbfit
    Participant

    Apologies for taking so long, I have been discussing with my host and it is addressable however beyond my means to do at the moment. It’s a little complicated.
    Thank you for such detail!

    What does this address that wasn’t already done in your first response?
    Meaning also where do I changed the options in the following:

    // Change sender name and email

    function sq_sender_email( $original_email_address ) {
    return ‘address@example.com’;
    }

    function sq_sender_name( $original_email_from ) {
    return ‘Name Here’;
    }

    add_filter( ‘wp_mail_from’, ‘sq_sender_email’ );
    add_filter( ‘wp_mail_from_name’, ‘sq_sender_name’ );

    #186977
     Kieran_SQ
    Moderator

    Hi,

    The second piece of code I shared is an extension of the original and should be used instead of the original. The code forces a change to the sender name and email whereas the original only update the sender name. You would need to update the following lines with your information

    return 'address@example.com';

    return 'Name Here';

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #187268
     mbfit
    Participant

    Awesome thanks!!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?