-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_set_mail.php
28 lines (18 loc) · 1.04 KB
/
config_set_mail.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php if(!isset($ok_come_from_config_script)) die();
$set_config = array(
'api_key_allow' => 0, // NOTE: This is NOT a very safe method; allows direct exec, ONLY works if debug is on, only for testing
'api_key' => '8732i98898989ahdj', // Min-Chars: 10
'smtp_use' => 0, // If 0, the PHP internal mail()-function is used, otherwise your SMTP-server of choice
'smtp_host' => 'mail.yourserver.com',
'smtp_port' => 465,
'smtp_user' => '', // The password is in conig_set_sec.php
'email_to' => 'contact@yourserver.com',
'name_to' => 'Contact',
'email_from' => '',
'name_from' => 'Contact Form',
'subject_prefix' => '[CF] ',
'email_reply' => '', // Keep empty to use email_from
'name_reply' => '', // Keep empty to use name_from
'allow_no_captcha' => 1, // no captcha seems unsafe to script-attacks
'allow_no_honeybot' => 0, // a honeybot can block primitive attacks
);