|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9081 Typo in pear/Mail/smtp.php
Submitted: 2001-02-02 13:35 UTC Modified: 2001-02-02 14:08 UTC
From: jpdalbec at cc dot ysu dot edu Assigned:
Status: Closed Package: Mail related
PHP Version: 4.0.4pl1 OS: Linux for S/390
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
43 - 39 = ?
Subscribe to this entry?

 [2001-02-02 13:35 UTC] jpdalbec at cc dot ysu dot edu
I think this is a typo:
    function Mail_smtp($params)
        if (isset($params['host'])) $this->host = $params['host'];
        if (isset($params['port'])) $this->host = $params['port'];
        if (isset($params['auth'])) $this->host = $params['auth'];
        if (isset($params['username'])) $this->host = $params['username'];
        if (isset($params['password'])) $this->host = $params['password'];

It should be:
    function Mail_smtp($params)
        if (isset($params['host'])) $this->host = $params['host'];
        if (isset($params['port'])) $this->port = $params['port'];
        if (isset($params['auth'])) $this->auth = $params['auth'];
        if (isset($params['username'])) $this->username = $params['username'];
        if (isset($params['password'])) $this->password = $params['password'];


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-02 14:01 UTC]
yup, how about that. nice catch - it's fixed now.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jun 25 08:01:23 2021 UTC