-
AuthorPosts
-
February 18, 2016 at 11:23 am #585298
hi there,
i have a contact form containing multiple recipients. As per description of the field “Your email address” this is allowed: “Enter one or more Email addresses (separated by comma) where mails should be delivered to. (Default: (Email address hidden if logged out) )”. Unfortunatly is there is more then one email address in the “Your email address” the auto-respond mail to the sender (Autorespond Text) is not being sent. As long as there is only one address in “Your email address” everything works as expected. Can you please check your mailing code for correctness. Thanks.
Also: Is there a way to enable a debug log so i can maybe see why the mail is not being sent?
Regards, M
February 21, 2016 at 8:32 am #586609Hi michelbenedetti!
Thank you for using Enfold.
This is a probably a limitation with your mail server. If possible, please contact your hosting provider regarding the issue.
Try this in the 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 = " (Email address hidden if logged out) "; return $from; }
Replace the email address where you want the autoresponder to come from.
Best regards,
IsmaelFebruary 22, 2016 at 11:05 am #587012Hello,
I have no problems sending one mail so i don’t expect any problems sending multiple emails. I do expect to have problems sending emails containing more than one sender as this violates the SMTP protocol.
If i follow your instructions above exactly this will happen as the “Your email address” field would contain two email addresses.
How can i get a debug log of the smtp process?Regards, M
February 25, 2016 at 11:10 am #588898Hi!
If i follow your instructions above exactly this will happen as the “Your email address” field would contain two email addresses.
The code is supposed to override the default email autoresponder address (set in “Your email address”). If it’s not working, please try this:
add_filter('avia_contact_form_args', 'avia_contact_form_args_mod', 10, 2); function avia_contact_form_args_mod($form_args, $post_id){ $form_args['autoresponder_email'] = " (Email address hidden if logged out) "; return $form_args; }
How can i get a debug log of the smtp process?
You will have to ask your hosting provider about this.
Best regards,
IsmaelFebruary 26, 2016 at 12:04 pm #589691Hi,
I inserted the code, it does not change anything. The content of the form is sent to both email adresses configured in the webpage, but the confirmation email is not received by the sender.
I was asking about the debug log for wordpress to see what error code is received by the php script.
Regards, M
February 29, 2016 at 10:04 am #590628Hi!
Please post the FTP and login details here. We would like to check it. All script related logs are handled in the server side so you should ask your hosting provider.
Regards,
IsmaelFebruary 29, 2016 at 3:01 pm #590788Due to the site being a company website i cannot provide access to it.
Are you unable to setup your testsite with two email recipients for the contact form yourself?
I will try to figure out where the logs go and post them if i can access them.February 29, 2016 at 5:00 pm #590931Hi,
I checked with our hosting provider for the SMTP logs. Only the two mails to the recipients of the contact form are sent. No confirmation mail back to the sender is sent. As the hosting provider tracks any call to the PHP mail function, i can confirm that it was not even tried to send the mail.
Once i enter only one eMail address in the form recipient Field, then two mails are sent, one to the form recipient and a confirmation back to the sender of the form.
This look very suspicious to me and i suspect a bug here somewhere between the PHP form processing script and the call to phpmail.Regards,
MFebruary 29, 2016 at 5:14 pm #590954I have the exact same problem. Your solution does not help me either.
Futhermore, I am not able to change the Subject field in the outgoing mail to the customer. As my customers are danish it seems like my outgoing mails are spam mails because of a standard message in the subject field saying “Thank you for your Message!”. I can, for some reason, only change the subject field in the mail that are send to my own mail.February 29, 2016 at 5:15 pm #590955Hey!
can we have a look at your web site backned access, so we can install a plugin and try also catch the emails that are been send from WordPress?
Are you also on the latest Version of Enfold?Cheers!
BasilisFebruary 29, 2016 at 7:37 pm #591047Hi,
Yes, afaik i am on the latest version of enfold (3.4.7) and wordpress 4.4.2.
As stated above, its a company website and policy does not allow me to give you access to it. But if you tell me which plugin, i will install it and capture any mails.
Thanks, MFebruary 29, 2016 at 9:47 pm #591131Im the same as Michel, unfortunately. Can not grant you access.
February 29, 2016 at 9:56 pm #591134Hey!
Really sorry but we can not help further with out access as we can not debug the issue.
Your hosting company is the safer pass if that is the choice.Cheers!
BasilisFebruary 29, 2016 at 10:46 pm #591172You don’t have the same problem when you try with your own servers? Because if you do, it should just be a question of fixing a minor issue right?
March 3, 2016 at 12:10 pm #592575@Enfold staff: Have you tried reproducing the issue on your own servers? I could easily do that when i just create a new form and enter two email addresses in the field “Your email address” and configure a autoresponse. You should be able to debug it on your own server then.
BTW i contacted my hosting company (see my text above) and they confirm that no mail was send by wordpress, so the issue is clearly in wordpress and not on the webhosters side.- This reply was modified 8 years, 9 months ago by michelbenedetti.
March 3, 2016 at 1:32 pm #592604Hi!
We are working on your ticket please wait while we update the results here soon.We are going to need some more time to look into this deeply at the moment if you require autoresponder emails to work while using the contact form element we recommend using one email only until we let you know further.
There are 3rd party plugins which offer this feature however we haven’t tried this with multiple emails but if you like to give it a try
Contact Form 7
Contact Form 7 autoresponder setup guide
Plugin extension for CF7Regards,
Vinay Kashyap- This reply was modified 8 years, 9 months ago by Vinay.
March 22, 2016 at 5:14 pm #601991Hi Vinnie,
Thanks for looking into the issue. We currently work with just one email address, but it would be great if that bug could be fixed.
Cheers,
MarcMarch 24, 2016 at 7:02 pm #603351Hi!
Thank you for coming back.
I’ll take care of this problem and try to find a fix.
Enjoy the theme and feel free to come back with further questions and/or problems you have. Simply open a new thread.
Cheers!
GünterMarch 25, 2016 at 10:14 am #603612 -
AuthorPosts
- The topic ‘Contact form – confirmation mail not sent when multiple recipient’ is closed to new replies.