Forum
Perch Form Autoresponse not working
Hi there,
Is anyone else having trouble with the new perch_forms (1.8.1) "Autoresponse" option found in the Form Settings not working - or can anyone who has it working provide some advice on setup?
I expected the "Send auto response" option to activate a confirmation email to send to who ever fills out our Contact Form but it doesn't seem to do anything. I have tested inside and out of our local network with the same result.
All settings found in the "Sending email" options are functioning as normal, I'm just not getting an auto response sent to the email address I use in our Contact Form email field...
<perch:input type="email" id="email" required="true" label="Email" placeholder="you@company.com" />
Have I misinterpreted something or am I doing something wrong?
We are running Perch: 2.7.2, PHP: 5.6.0, perch_forms (1.8.1)
Any suggestions appreciated - Thanks in advance.
- Gavin
Does your mailserver support sending email to addresses not registered with it?
Have you tested using something like Mailtrap? https://solutions.grabaperch.com/development/email-testing-with-mailtrap or sending the mail via Gmail's SMTP?
Hi Rachel
Thanks for the quick response.
I don't know if our mailserver supports sending email to addresses not registered with it but we are currently running off 'smtp.office365.com' and I was testing both a registered and unregistered address.
I followed your instructions re: Mailtrap suggestion (thankyou) including making sure I swapped out the mailtrap_host, mailtrap_username and mailtrap_password with my .config file settings:
...but the email test in Perch > Settings > Email, keeps returning:
"Invalid address: PERCH_EMAIL_FROM"
Have I missed something or made an error somewhere?
Thanks again :)
Do you have
PERCH_EMAIL_FROM
defined in yourconfig.php
file? It should be there from the initial setup process.Thanks Drew good spotting!
I had the previous email settings commented out to test Mailtrap but didn't think to include the PERCH_EMAIL_FROM as I just copied & pasted from https://solutions.grabaperch.com/development/email-testing-with-mailtrap and followed the instructions.
So I've added it back in and email test is working as is Mailtrap but still no Autoresponse to the email address I'm entering into my Contact Form email address field.
I have upgraded to perch_forms (1.8.2) in hope this issue would resolve itself but no luck.
I have noticed however that under "Perch > Settings > Email > Sending email > Email address field" dropdown doesn't have any options to select - could this be part of the problem?
Thanks
Yes, that's all of the problem - it can't send an auto response without an address to send it to.
Can you turn on debug - do you get an error on that page?
Thanks Drew
Have turned debug back on - no errors to be seen but if I "Inspect Element" in Chrome the Console displays 1 error:
Does this help?
Is this for a new form, or an existing form?
I am also having this issue Gavin. Test email in settings works as well as reseting a users password. But no joy with the forms autoresponder.
Perch: 2.7.2 PHP: 5.4.34 Form_app : 1.8.2
I am getting this error when a form is submitted
Hope this helps
It's for an existing form on our staging site I use for testing before making these kind of updates on our live site.
Drew your suggestion I found on [this thread] (https://forum.grabaperch.com/forum/10-30-2014-forms-replyto-email-address/) re "delete the form within the Forms app and set it up again" works but I can understand how this could be quite annoying for some people.
So for me the Autoresponder / ReplyTo email address function is now working.
Do you have a solution for anyone who doesn't want to delete their existing form?
Thanks.
Thanks for your input Damon.
That's not how it's designed to work, that's just a troubleshooting step.
I also deleted the form and started a new.
It worked for a while until I changed some of the details (intro text) then unfortunately it has stopped working again :(
Deleting the form no longer fixes the problem
Sorry Drew my mistake.
So if deleting and starting again works - what would be the next troubleshooting step?
Thanks.
Damon I tried replicating this a few times but mine is still working fine.
Damon - if you have a problem then you need to start your own thread giving your Diagnostic Report and any other information to help us help you.
Gavin - apologies this thread has got a bit confused :)
I'm not sure what your current situation is. Is the form now working or do you still have an issue?
Thanks Rachel - no problem, my form is still working as it should both ways since deleting it out of perch and re-submitting through the contact form.
I was just curious as to what Drew's next troubleshooting step was going to be re:
...for those who didn't want to delete their client's contact form because of stored responses?
I don't know yet! But I'm working on it.
Good man! Cheers Drew I look forward to seeing what you come up with :)