Project

General

Profile

« Previous | Next » 

Revision b97c7ee5

Added by Renato Botelho over 9 years ago

Update smtp class to latest version, fixes #5604

- SMTP class from
http://www.phpclasses.org/package/14-PHP-Sends-e-mail-messages-via-SMTP-protocol.html
- Adapt code to current version, only change was tls parameter became
start_tls

View differences:

src/etc/inc/notices.inc
341 341

  
342 342
	$smtp->direct_delivery = 0;
343 343
	$smtp->ssl = (isset($config['notifications']['smtp']['ssl'])) ? 1 : 0;
344
	$smtp->tls = (isset($config['notifications']['smtp']['tls'])) ? 1 : 0;
344
	$smtp->start_tls = (isset($config['notifications']['smtp']['tls'])) ? 1 : 0;
345 345
	$smtp->debug = 0;
346 346
	$smtp->html_debug = 0;
347 347
	$smtp->localhost = $config['system']['hostname'] . "." . $config['system']['domain'];

Also available in: Unified diff