Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #327991

    Hi,
    I find the fact that the user’s email address is used as the from email very problematic as many of the SMTP vendors out there only allows emails from whitelisted domains.

    Is it possible to change that / make that an option in the form?

    The best way is just to add from email address text box to the admin form.

    Thanks,
    Efi

    #328666

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    function change_cf_from() {
    	return " (Email address hidden if logged out) ";
    }
    add_filter('avf_form_from', 'change_cf_from', 10);

    Cheers!
    Josue

    #328848

    Thanks, it’s working.

    Any chance you can add the functionality of choosing the from address to the theme? this way updates will not override this patch

    Thanks,
    Efi

    #329122

    Hi!

    Using a child theme and putting the code in its functions.php would be ideal and update-proof, alternatively you can use this plugin to store custom functions separated from the theme files.

    Cheers!
    Josue

    #363250

    Sorry for the late reply but the above solution doesn’t solve the problem as it conflicts with the auto responser functionality.

    I’ll open a feature request.

    Thanks,
    Efi

    #363972

    Hi!

    sorry that it’s not working with your auto responder and thanks for your feature request.

    Best regards,
    Andy

    #438167

    Hi,

    Is there any update on this auto responder issue? I’ve been having the same problem for some time and I need to get it fixed now.

    Thank you

    #438387

    Hey!

    This is not a global problem but more of a server-related one, we’ll try to help you fix it, please hand us a WP admin account.

    Best regards,
    Josue

    #439702

    Thank you Josue, but just to be clear, I have had to change the ‘from’ address in the contact forms to one address only (due to some messages being bounced as spam). I made this change using the suggested code you mentioned above in the functions.php file. The issue I now have is that all auto responder messages go to the one ‘from’ address, not the real senders address.

    How should I send the wp admin login? Can I PM you? or could you tell me the code so the autoresponder uses the email address entered in the contact forms and not the one ‘from’ address in the functions.php file please?

    Thank you very much for your help :o)

    #441278

    Post it here as a private reply.

    Best regards,
    Josue

    #450049
    This reply has been marked as private.
    #450059

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    add_filter('avf_form_autoresponder_from', 'avia_change_autoresponder_from', 10, 3);
    function avia_change_autoresponder_from($from, $new_post, $form_params){
    	$from = $new_post['e-mail_1'];
    	return $from;
    }

    Cheers!
    Josue

    #450101
    This reply has been marked as private.
    #450120

    Hi Josue,

    Edit to my previous message. Nobody is receiving the autoresponder text. It was just the contact form messages which I had received.

    Simon

    #450378

    Hey Simon!

    I’m not really sure why the Enfold form is not sending the autoresponder message, i installed CF7 and it seems it works there (check), would you mind transitioning your forms to that solution? i can help you mimicking the styling if needed.

    Cheers!
    Josue

    #450524

    Thank you Josue, I’ll have a play around with that and see how it goes.

    Many Thanks again,

    Simon

    #450785

    Looking forward to hearing from you :)

    Regards,
    
Josue

    #453099

    Thank you for you help again Josue,

    I am probably not doing something correctly, but I can’t get the autoresponder to work with CF7 either.

    Many Thanks again,

    Simon

    #453407

    Hey!

    Just did a quick test and it worked (http://a.pomf.se/nmrmad.png), check your SPAM folder.

    Cheers!
    Josue

    #453788

    Thank you Josue,

    Yes indeed it does look like a spam filtering issue. I got some autoresponse tests now, but not the messages sent using the CF7 form. Something which I will have to look further into to try to resolve. I’ve never had this problem before until using WordPress on this website.

    Anyway, thank you very much for your help,

    Best Regards,

    Simon

    #454037

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.