Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Contact form not sending auto-reply emails #970955

    Hi!
    I see the weekend has been busy for you…. ;)
    I’ve tested @ismael filters and works perfectly in my case also.
    Certainly, it would be great if this could be done in the avia editor, simply adding a field for the address to be used to send the mails. Hope it can be added as a new feature.
    Thank you all very very much for your support.
    Kind regards,
    Carlos.

    in reply to: Contact form not sending auto-reply emails #970088

    Hi, Mike!
    It works perfectly!
    The only “problems” I see are that the new address is hard-coded in the function and on the other hand, overwritting the full function in the child theme is a little risky in case of important theme updates that affect to that function… But I know that my case is a little “special”, and have to assume this.
    Thank you very much for your support, and kindest regards.
    Carlos.

    in reply to: Contact form not sending auto-reply emails #969976

    Thank you very much, Mike.
    I’ll try it in few hours/days and give you feedback.
    Only one question… (I’m a bit newbie in WordPress etc.) Will this modification be overwritten with the Enfold updates? In this case, how could be the work-around to do it in my child-theme?
    Many thanks for your suuport, and kindest regards,
    Carlos.

    in reply to: Contact form not sending auto-reply emails #967124

    Hi, Basilis.
    Thanks for your support, but unfortunately I’ve not been able to solve the issue yet.
    Suppose I didn’t explain it correctly. Let me try again…
    I don’t want to include the “reply-to” field in the mail header.
    I want to send a reply to the user automatically wich can be done by placing the text in the auto-response field of the contact form editor.
    It works ok if I don’t change the “from” email address, i.e, whitout adding any php function. But in that case, the address used to sent the mails is not valid for us. But when I add the php code to change the “from” address, the auto-response is not sent.
    Here is the code I’ve added:

    add_filter(‘avf_form_from’, ‘avf_form_from_mod’, 10, 3);
    function avf_form_from_mod($from, $new_post, $form_params) {
    $from = ” (Email address hidden if logged out) “;
    return $from;
    }

    Hope now the question is a bit clearer..
    Many thanks in advance.
    Carlos.

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