Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.0.0

Request #17513 passing tls parameter to SMTP driver and to NET_Smtp
Submitted: 2010-06-22 23:04 UTC
From: jszczypk Assigned: schengawegga
Status: Closed Package: Mail (version 1.2.0)
PHP Version: 5.2.2 OS: OS X
Roadmaps: (Not assigned)    
Subscription  


 [2010-06-22 23:04 UTC] jszczypk (Janusz Szczypka)
Description: ------------ Please pass add tls parameter to SMTP driver and pass it to NET_Smtp::auth as fourth argument; Test script: --------------- class Mail_smtp extends Mail { (...) var $tls = true; (...) function Mail_smtp($params) { (...) if (isset($params['tls'])) $this->tls = (bool)$params['tls']; (...) } function &getSMTPObject() { (...) if (PEAR::isError($res = this->_smtp->auth($this->username, $this->password, $method, $tls))) { (...) } }

Comments

 [2010-10-15 14:36 UTC] kguest (Ken Guest)
 [2012-01-24 18:56 UTC] doconnor (Daniel O'Connor)
can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: Mail/smtp.php |================================================ =================== |--- Mail/smtp.php (revision 304408) |+++ Mail/smtp.php (working copy) -------------------------- File to patch: Mail/smtp.php patching file Mail/smtp.php Hunk #4 FAILED at 321. Hunk #5 succeeded at 392 (offset 1 line). 1 out of 5 hunks FAILED -- saving rejects to file Mail/smtp.php.rej clockwerx@clockwerx-desktop:/media/Elements_/backup/home/clockwerx/pear- svn/packages/Mail/trunk$
 [2012-01-24 18:59 UTC] doconnor (Daniel O'Connor)
Ken, can you just apply this directly, with your QA hat on?
 [2012-01-24 18:59 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
 [2017-04-11 17:12 UTC] ashnazg (Chuck Burgess)
-Status: Feedback +Status: Open
 [2022-11-29 23:45 UTC] schengawegga (Armin Graefe)
-Status: Open +Status: Closed -Assigned To: +Assigned To: schengawegga
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/