mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 15:05:00 +00:00
Update index.php
This commit is contained in:
parent
9e9c540a7e
commit
a678f6c04e
|
@ -261,7 +261,7 @@ function relay_sendmail($params) {
|
|||
$subject = $params['subject'];
|
||||
$message = $params['message'];
|
||||
$headers = 'From: ' . $from . "\r\n" .
|
||||
'X-Mailer: php-httpproxy/' . PHP_HTTPPROXY_VERSION . ' (Server; PHP ' . phpversion() . ')';
|
||||
'X-Mailer: php-httpproxy/' . PHP_HTTPPROXY_VERSION . ' (Server; PHP ' . phpversion() . '; Caterpillar)';
|
||||
$sent = @mail($to, $subject, $message, $headers);
|
||||
if (!$sent) {
|
||||
$e = error_get_last();
|
||||
|
|
Loading…
Reference in New Issue
Block a user