bootstrap3-contact-form icon indicating copy to clipboard operation
bootstrap3-contact-form copied to clipboard

To email address

Open buckyreal opened this issue 8 years ago • 7 comments

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?

buckyreal avatar Jan 30 '17 06:01 buckyreal

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

buckyreal avatar Jan 30 '17 07:01 buckyreal

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

krrishnasp avatar Feb 06 '17 11:02 krrishnasp

i was struck to send php file pls tell me as early possible dont be think another way.

krrishnasp avatar Feb 06 '17 11:02 krrishnasp

I also have the same issue this side: On form error: reCAPTCHA checked failed! Error codes: invalid-input-secret

Snowfish333 avatar Nov 02 '17 18:11 Snowfish333

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

madpsy avatar Feb 05 '18 10:02 madpsy

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

Snowfish333 avatar Feb 20 '18 06:02 Snowfish333

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?

jessicana avatar Mar 27 '21 06:03 jessicana