Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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

    #586609

    Hi 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,
    Ismael

    #587012

    Hello,

    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

    #588898

    Hi!

    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,
    Ismael

    #589691

    Hi,

    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

    #590628

    Hi!

    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,
    Ismael

    #590788

    Due 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.

    #590931

    Hi,
    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,
    M

    #590954

    I 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.

    #590955

    Hey!

    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!
    Basilis

    #591047

    Hi,
    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, M

    #591131

    Im the same as Michel, unfortunately. Can not grant you access.

    #591134

    Hey!

    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!
    Basilis

    #591172

    You 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?

    #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.

    #592604

    Hi!

    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 CF7

    Regards,
    Vinay Kashyap

    • This reply was modified 8 years, 8 months ago by Vinay.
    #601991

    Hi 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,
    Marc

    #603351

    Hi!

    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ünter

    #603612

    Hi!

    The problem is fixed in version 3.5.1.

    Cheers!
    Günter

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Contact form – confirmation mail not sent when multiple recipient’ is closed to new replies.