-
AuthorPosts
-
October 1, 2014 at 12:36 pm #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,
EfiOctober 2, 2014 at 6:39 am #328666Hey!
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!
JosueOctober 2, 2014 at 12:20 pm #328848Thanks, 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,
EfiOctober 2, 2014 at 5:41 pm #329122Hi!
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!
JosueDecember 4, 2014 at 9:36 pm #363250Sorry 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,
EfiDecember 6, 2014 at 1:47 am #363972Hi!
sorry that it’s not working with your auto responder and thanks for your feature request.
Best regards,
AndyMay 1, 2015 at 4:21 pm #438167Hi,
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
May 2, 2015 at 4:54 pm #438387Hey!
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,
JosueMay 5, 2015 at 2:19 pm #439702Thank 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)
May 7, 2015 at 10:23 pm #441278Post it here as a private reply.
Best regards,
JosueMay 26, 2015 at 1:16 pm #450049This reply has been marked as private.May 26, 2015 at 1:42 pm #450059Hey!
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!
JosueMay 26, 2015 at 2:51 pm #450101This reply has been marked as private.May 26, 2015 at 3:13 pm #450120Hi Josue,
Edit to my previous message. Nobody is receiving the autoresponder text. It was just the contact form messages which I had received.
Simon
May 27, 2015 at 2:07 am #450378Hey 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!
JosueMay 27, 2015 at 12:05 pm #450524Thank you Josue, I’ll have a play around with that and see how it goes.
Many Thanks again,
Simon
May 27, 2015 at 8:16 pm #450785Looking forward to hearing from you :)
Regards,
JosueJune 2, 2015 at 12:52 pm #453099Thank 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
June 2, 2015 at 10:53 pm #453407Hey!
Just did a quick test and it worked (http://a.pomf.se/nmrmad.png), check your SPAM folder.
Cheers!
JosueJune 3, 2015 at 2:47 pm #453788Thank 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
June 3, 2015 at 7:39 pm #454037You are welcome, glad to help :)
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.