• Resolved Ruben Garcia

    (@rubengc)


    Hi there

    On last update, I just noticed that I can’t correctly reply emails from my inbox

    Issue comes that on the email function, the “From” email has been change

    Function I’m talking about is wedocs_doc_feedback_email() function, located on functions.php and line to change should be line 358:
    $from = "From: \"$author\" <$wp_email>";

    Also, I noticed that on coming filters of this function you can pass the $author, $email, $subject and $message parameters

    
        $email_to        = apply_filters( 'wedocs_email_feedback_to', $email_to, $doc_id, $document );
        $subject         = apply_filters( 'wedocs_email_feedback_subject', $subject, $doc_id, $document, $_POST );
        $email_body      = apply_filters( 'wedocs_email_feedback_body', $email_body, $doc_id, $document, $_POST );
        $message_headers = apply_filters( 'wedocs_email_feedback_headers', $message_headers, $doc_id, $document, $_POST );
    

    Best regards

    • This topic was modified 6 years, 3 months ago by Ruben Garcia.
  • The topic ‘Email from “FROM” field should be user’s email’ is closed to new replies.