/*~ class.smtp.php
.---------------------------------------------------------------------------.
| Software: PHPMailer - PHP email class |
-| Version: 2.0.3 |
+| Version: 2.0.4 |
| Contact: via sourceforge.net support pages (also www.codeworxtech.com) |
| Info: http://phpmailer.sourceforge.net |
| Support: http://sourceforge.net/projects/phpmailer/ |
* @return void
*/
function SMTP() {
- $this->smtp_conn = '0';
+ $this->smtp_conn = 0;
$this->error = null;
$this->helo_rply = null;
- $this->do_debug = '0';
+ $this->do_debug = 0;
}
/*************************************************************
if(!empty($this->smtp_conn)) {
# close the connection and cleanup
fclose($this->smtp_conn);
- $this->smtp_conn = '0';
+ $this->smtp_conn = 0;
}
}
*/
function get_lines() {
$data = "";
- while($str == @fgets($this->smtp_conn,515)) {
+ while($str = @fgets($this->smtp_conn,515)) {
if($this->do_debug >= 4) {
echo "SMTP -> get_lines(): \$data was \"$data\"" .
$this->CRLF;