Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: php.php 3790 2008-04-23 22:50:33Z Tikitiki $
| * $Id: php.php 4111 2008-08-13 06:14:12Z Tikitiki $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 45 | Zeile 45 |
---|
$this->delimiter = "\n"; }
|
$this->delimiter = "\n"; }
|
if(function_exists('mb_send_mail'))
| // If safe mode is on, don't send the additional parameters as we're not allowed to if(ini_get('safe_mode') == 1 || strtolower(ini_get('safe_mode')) == 'on')
|
{
|
{
|
if(function_exists('mb_language')) { if($this->charset == "UTF-8") { $language = 'uni'; } else { $language = $lang->settings['htmllang']; } @mb_language($language); } $sent = @mb_send_mail($this->to, $this->subject, $this->message, trim($this->headers), $this->additional_parameters); $function_used = 'mb_send_mail()';
| $sent = @mail($this->to, $this->subject, $this->message, trim($this->headers));
|
} else { $sent = @mail($this->to, $this->subject, $this->message, trim($this->headers), $this->additional_parameters);
|
} else { $sent = @mail($this->to, $this->subject, $this->message, trim($this->headers), $this->additional_parameters);
|
$function_used = 'mail()';
| |
}
|
}
|
| $function_used = 'mail()';
|
if(!$sent) {
| if(!$sent) {
|