"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/admin/sendemaillib.php" between
phplist-3.4.9.tgz and phplist-3.5.0.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

sendemaillib.php  (phplist-3.4.9.tgz):sendemaillib.php  (phplist-3.5.0.tgz)
skipping to change at line 753 skipping to change at line 753
$mail = new PHPlistMailer($messageid, $destinationemail); $mail = new PHPlistMailer($messageid, $destinationemail);
if ($isTestMail) { if ($isTestMail) {
$mail->SMTPDebug = PHPMAILER_SMTP_DEBUG; $mail->SMTPDebug = PHPMAILER_SMTP_DEBUG;
$mail->Debugoutput = 'html'; $mail->Debugoutput = 'html';
} }
if ($forwardedby) { if ($forwardedby) {
$mail->add_timestamp(); $mail->add_timestamp();
} }
$mail->addCustomHeader('List-Help: <'.$text['preferences'].'>'); $mail->addCustomHeader('List-Help', '<'.$text['preferences'].'>');
$mail->addCustomHeader('List-Unsubscribe: <'.$text['jumpoffurl'].'>'); $mail->addCustomHeader('List-Unsubscribe', '<'.$text['jumpoffurl'].'>');
$mail->addCustomHeader('List-Unsubscribe-Post: List-Unsubscribe=One-Click'); $mail->addCustomHeader('List-Unsubscribe-Post', 'List-Unsubscribe=One-Click'
$mail->addCustomHeader('List-Subscribe: <'.getConfig('subscribeurl').'>'); );
$mail->addCustomHeader('List-Owner: <mailto:'.getConfig('admin_address').'>' $mail->addCustomHeader('List-Subscribe', '<'.getConfig('subscribeurl').'>');
); $mail->addCustomHeader('List-Owner', '<mailto:'.getConfig('admin_address').'
>');
list($dummy, $domaincheck) = explode('@', $destinationemail); list($dummy, $domaincheck) = explode('@', $destinationemail);
$text_domains = explode("\n", trim(getConfig('alwayssendtextto'))); $text_domains = explode("\n", trim(getConfig('alwayssendtextto')));
if (in_array($domaincheck, $text_domains)) { if (in_array($domaincheck, $text_domains)) {
$htmlpref = 0; $htmlpref = 0;
if (VERBOSE) { if (VERBOSE) {
output($GLOBALS['I18N']->get('sendingtextonlyto')." $domaincheck"); output($GLOBALS['I18N']->get('sendingtextonlyto')." $domaincheck");
} }
} }
 End of changes. 1 change blocks. 
6 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)