Forum
Form Email Forwarding
Hi,
I'm having a problem with the forwarding of my contact form emails. I receive the forms in Perch but they do not make their way to my inbox. I have tried to troubleshoot this by adding in extra SMTP authentication to the config.php and this matches the Form options info I have input in Perch.
define('PERCH_EMAIL_FROM', 'info@bubblescreche.ie');
define('PERCH_EMAIL_FROM_NAME', 'Fiona');
define('PERCH_EMAIL_METHOD', 'smtp');
define('PERCH_EMAIL_HOST', 'lh234.dnsireland.com');
define('PERCH_EMAIL_AUTH', true);
define('PERCH_EMAIL_SECURE', 'ssl');
define('PERCH_EMAIL_PORT', 465);
define('PERCH_EMAIL_USERNAME', 'info@bubblescreche.ie');
define('PERCH_EMAIL_PASSWORD', '******');
The contact form is at https://bubblescreche.ie/contact-bubbles.php
Any suggestions would be appreciated?
Thanks, Orla
Does email send from the email test under Settings in Perch?
Hi Rachel,
Yes, the email test sends no problem.
Can you add debug to the page and then let me know what it outputs after you submit the form?
https://docs.grabaperch.com/docs/installing-perch/configuration/debug/
Hi Drew,
Here's the debug message from after form submits:
"Invalid address: Marty"
It looks as if you are trying to send the form to the name field rather than an email address.
A case of the answer staring me in the face. Thanks ;-)
It's all sorted now! Orla