Revision 1301
Added by Dietmar over 14 years ago
class.phpmailer.php | ||
---|---|---|
583 | 583 |
* @access private |
584 | 584 |
* @return bool |
585 | 585 |
*/ |
586 |
function SmtpConnect() { |
|
587 |
if($this->smtp == NULL) { |
|
586 |
function SmtpConnect() |
|
587 |
{ |
|
588 |
if($this->smtp == NULL) |
|
589 |
{ |
|
588 | 590 |
$this->smtp = new SMTP(); |
589 | 591 |
} |
590 | 592 |
|
... | ... | |
594 | 596 |
$connection = ($this->smtp->Connected()); |
595 | 597 |
|
596 | 598 |
/* Retry while there is no connection */ |
597 |
while($index < count($hosts) && $connection == false) { |
|
599 |
while($index < count($hosts) && $connection == false) |
|
600 |
{ |
|
598 | 601 |
$hostinfo = array(); |
599 |
if(eregi('^(.+):([0-9]+)$', $hosts[$index], $hostinfo)) { |
|
602 |
if(preg_match('/(.+):([0-9]+)/', $hosts[$index], $hostinfo)) |
|
603 |
{ |
|
600 | 604 |
$host = $hostinfo[1]; |
601 | 605 |
$port = $hostinfo[2]; |
602 | 606 |
} else { |
Also available in: Unified diff
Tickets #932 change deprecated eregi functions
Tickets #948 fixed Multiple use of same parametrised droplet - parameter handling
Upgrade Droplets to Version 1.0.3
update some headerinfos
non existing pages, will be created if clicking save in page settings