Email Dinamically to author post email

Home Forums Quform WordPress Email Dinamically to author post email

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3621
    alexdex
    Participant

    Hi, i absolute need to send a form directly to author post email like recipient.
    So, i found this solution but do not fuction:

    is it possible to set the recipients email address to the post authors email address?

    Yes, you have to mofidy common.php lines 676-679.

    if ($form->getId() == 1) {
    // The post ID that the form is on is set in $_POST[‘post_id’] you can use that to get the post author email

    $mailer->AddAddress($postAuthorEmail);
    } else {
    //… the original code from lines 676-679
    }
    You’ll need to change $form->getId() == 1 to the ID of your form. Also keep in mind that these changes will be overwritten if you update the plugin.

    I MAKE ALL BUT NO FUNCTION, I LEAVE ON THE QUFORM BACKEND BLANK FIELD LIKE RECIPIENT.

    PLEASE HELP ME, IT IS VERY IMPORTANT FOR ME

    THANK YOU SO MUCH

    #3630
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    • This reply was modified 9 years, 9 months ago by Ally.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy