• Resolved Dubai City Tour

    (@alivanrental)


    I am facing strange issues in receiving emails from happy form
    whenever someone sends email to our domain email through happyform so all messages are coming from [email protected] and all emails from different emails are showing in 1 group in email app.

    we have configured domain email in happyform (not gmail or hotmail etc).

    can anyone advise why its all incoming email from different emails coming to 1 group and why all email are from wordpress@domainname

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ignazio Setti

    (@ignaziohappyforms)

    Hey @alivanrental ??

    Happyforms takes the safest route when it comes to email messages — the one’s that’s less likely to clash with your inbox spam filter. See, any message whose “from” address doesn’t match the actual sender of that email might be seen as malicious. This is especially the case on default WordPress installs, where the sender is your server.

    All that said, you can force your hand with a PHP snippet. Try adding the below code to your functions.php file:

    
    add_filter( 'happyforms_email_alert', function( $email_message ) {
        $reply_to = $email_message->get_reply_to();
    
        if ( is_array( $reply_to ) && ! empty( $reply_to ) ) {
            $email_message->set_from( $reply_to[0] );
        }
    
        return $email_message;
    } );
    

    Let us know how that goes!

    Anonymous User 18525946

    (@anonymized-18525946)

    I’m going to close this topic. If you still need a hand, please just open a new topic and we’ll pick up this conversation where we left off ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Receiving all email from wordpress@ domainname’ is closed to new replies.