"domain.com", // Google reCaptcha v2 secret. Obtain your key from https://www.google.com/recaptcha/admin/create // Enter your secret key below and be sure to integrate reCaptcha into your site with your site key. // // //
// // Leave blank to disable (Not a good idea). 'reCaptchaSecret' => "", // 'excludeFields' is a list of field names separated by commas. Field names listed here will not // be included in the resulting email of this script. // NOTE: The fields "recipient, subject, required, redirect, mailtemplate, mailtemplatehtml" are // used by this script and are automagically added later in the script. 'excludeFields' => "", // 'defaultFrom' is an email address in proper form. This is the default from address used to send // mail if there is no field "email" sent to this script. 'defaultFrom' => 'sendform@domain.com', // 'defaultSubject' is a String. This is the default subject used if there is no field "subject" // sent to this script. 'defaultSubject' => "SendForm Results", // 'defaultReq' is a list of field names separated by commas. Field names listed here are assumed // required for the script to run. // NOTE: The field "recipient" is required by this script and will always be checked. 'defaultReq' => "", // 'defaultIgnoreEmpty' is either true or false. If true, the script will ignore all empty fields // and return only fields that contain data. Useful if you have optional fields and do not // want to output them to the resulting email. 'defaultIgnoreEmpty' => false, // 'smtpEnable' enables or disables the SMTP sending method. Enter 1 to turn it on or 0 to turn it off // 'smtpHost', 'smtpUser', 'smtpPass' only need to be filled if 'smtpEnable' is set to 1 'smtpEnable' => 0, 'smtpHost' => "mail.server.com", 'smtpUser' => "johndoe@domain.com", 'smtpPass' => "passwerd", // 'errorTo' is a valid email address that will receive a simple notification for each error that occurs. // Leave blank to turn off. NOTE: this function does not support the SMTP sending method. 'errorTo' => ""; ); ?>