bootstrap3-contact-form
bootstrap3-contact-form copied to clipboard
To email address
I've looked all through the code... where to you put the email address you want this form to send to? I'm assuming it will be sent to the same address that you set-up to send as on the mailserver?
I'm also confused about the jquery dependency. So, download the compressed production version of the latest version and put it in the root? likewise with bootstrap3?
Troubleshooting the following error on submit
On form error: reCAPTCHA checked failed! Error codes: invalid-input-secret
On debug: POST http://momsquadla.com/library/sendmail.php 500 (Internal Server Error) jquery.min.js:6
I've looked all through the code... where to you put the email address you want this form to send to? I am very new to this php please guide me
i was struck to send php file pls tell me as early possible dont be think another way.
I also have the same issue this side: On form error: reCAPTCHA checked failed! Error codes: invalid-input-secret
You can set a To address by changing line 86 of library/sendmail.php from:
$mail->addAddress(getenv('FEEDBACK_EMAIL'));
To this:
$mail->addAddress(getenv('FEEDBACK_TOADDRESS'));
Then add environment variable to .htaccess or wherever suitable:
SetEnv FEEDBACK_TOADDRESS [email protected]
(reload Apache etc.)
Hi,
Thanks for getting back to me, much appreciated.
Regards
Stefan
On 2018-02-05 12:40, madpsy wrote:
You can set a To address by changing line 86 of library/sendmail.php from:
$mail->addAddress(getenv('FEEDBACK_EMAIL'));
To this:
$mail->addAddress(getenv('FEEDBACK_TOADDRESS'));
Then add environment variable to .htaccess or wherever suitable:
SetEnv FEEDBACK_TOADDRESS [email protected]
(reload Apache etc.)
-- You are receiving this because you commented. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
Links:
[1] https://github.com/jonmbake/bootstrap3-contact-form/issues/30#issuecomment-363046390 [2] https://github.com/notifications/unsubscribe-auth/AWkJcLFK4rvOGX2IM0-nMvrBmCHcsyxGks5tRtqOgaJpZM4LxEqI
I get the same error:
reCAPTCHA checked failed! Error codes: invalid-input-secret
I have changed
$mail->addAddress(getenv('FEEDBACK_EMAIL'));To:
$mail->addAddress(getenv('FEEDBACK_TOADDRESS'));
But it did not work. I don't have .htaccess anyway because I use nginx. Any idea how can we make this form work?