Project

General

Profile

Feature #14851 » plainMailEncoded.txt

Administrator Admin, 2005-07-07 21:44

 
function plainMailEncoded($email,$subject,$message,$headers='') {
global $LANG;
$urlmode=$this->config['config']['notification_email_urlmode']; // '76', 'all', ''

if ($GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset'] && $this->config['config']['notification_email_charset'] && $GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset']!=$this->config['config']['notification_email_charset']) {
$message = $this->csConvObj->conv($message, $this->csConvObj->parse_charset($GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset']), $this->csConvObj->parse_charset($this->config['config']['notification_email_charset']), 1);
$subject = $this->csConvObj->conv($subject, $this->csConvObj->parse_charset($GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset']), $this->csConvObj->parse_charset($this->config['config']['notification_email_charset']), 1);
}
if ($urlmode) {
$message=t3lib_div::substUrlsInPlainText($message,$urlmode);
}

t3lib_div::plainMailEncoded(
$email,
$subject,
$message,
$headers,
$this->config['config']['notification_email_encoding'],
$this->config['config']['notification_email_charset']?$this->config['config']['notification_email_charset']:'ISO-8859-1'
);
}
(1-1/3)