diff --git a/include/pear/BUNDLE b/include/pear/BUNDLE index 863d4d92b89fbfe74dc87fabc358a06570d00a93..22917abc2caad7086de5ea447757c18f2cd44321 100644 --- a/include/pear/BUNDLE +++ b/include/pear/BUNDLE @@ -1,7 +1,7 @@ -Log of pear packages shipped with osTicket. +Log of pear packages bundled with osTicket -* osTicket v1.7 ------------------------------------------ +* osTicket v1.7.* +=========================================================== PEAR-1.9.4 - core class Mail-1.2.0 Mail_Mime-1.8.5 @@ -9,6 +9,5 @@ Log of pear packages shipped with osTicket. Net_Socket-1.0.10 Auth_SASL-1.0.6 - - - +-------- Changes ---------- +* Add connect() function to Mail/smtp.php diff --git a/include/pear/Mail/smtp.php b/include/pear/Mail/smtp.php index 52ea602086592689b6a84e0e63059dcc5c256231..75171891ea61351ed3ac3530228b549ad4a14a31 100644 --- a/include/pear/Mail/smtp.php +++ b/include/pear/Mail/smtp.php @@ -386,6 +386,15 @@ class Mail_smtp extends Mail { return $this->_smtp; } + /** + * Connection wrapper + * + * + */ + function &connect() { + return $this->getSMTPObject(); + } + /** * Add parameter associated with a SMTP service extension. *