Project

General

Profile

Bug #24993 ยป 17531_v1.diff

Administrator Admin, 2011-02-09 22:27

View differences:

t3lib/class.t3lib_htmlmail.php (Arbeitskopie)
if (!$host || $host == '127.0.0.1' || $host == 'localhost' || $host == 'localhost.localdomain') {
$host = ($TYPO3_CONF_VARS['SYS']['sitename'] ? preg_replace('/[^A-Za-z0-9_\-]/', '_', $TYPO3_CONF_VARS['SYS']['sitename']) : 'localhost') . '.TYPO3';
}
$this->messageid = md5(microtime()) . '@' . $host;
$idLeft = time() . '.' . uniqid();
$idRight = !empty($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'swift.generated';
$this->messageid = $idLeft . '@' . $idRight;
// Default line break for Unix systems.
$this->linebreak = LF;
    (1-1/1)