Zeile 25 | Zeile 25 |
---|
* @var string */ public $additional_parameters = '';
|
* @var string */ public $additional_parameters = '';
|
| /** * Path where the sendmail program can be found. * * @var string */ public $sendmail = '';
/** * Which "From:" mail address should be used in mail sent directly via SMTP. * * @var string */ public $sendmail_from = '';
|
/** * Sends the email.
| /** * Sends the email.
|
Zeile 36 | Zeile 50 |
---|
global $lang, $mybb;
// For some reason sendmail/qmail doesn't like \r\n
|
global $lang, $mybb;
// For some reason sendmail/qmail doesn't like \r\n
|
| /*
|
$this->sendmail = @ini_get('sendmail_path'); if($this->sendmail) {
| $this->sendmail = @ini_get('sendmail_path'); if($this->sendmail) {
|
Zeile 43 | Zeile 58 |
---|
$this->message = str_replace("\r\n", "\n", $this->message); $this->delimiter = "\n"; }
|
$this->message = str_replace("\r\n", "\n", $this->message); $this->delimiter = "\n"; }
|
| */
|
// Some mail providers ignore email's with incorrect return-to path's so try and fix that here $this->sendmail_from = @ini_get('sendmail_from');
| // Some mail providers ignore email's with incorrect return-to path's so try and fix that here $this->sendmail_from = @ini_get('sendmail_from');
|