PopB4Smtp error in write() function?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
m2mtech
Forum Newbie
Posts: 3
Joined: Wed Aug 15, 2007 3:15 am

PopB4Smtp error in write() function?

Post by m2mtech »

write() in \lib\Swift\Authenticator\PopB4Smtp\Pop3Connection.php

Code: Select all

if (false !== fwrite($this->handle, $command . "\r\n"))
should be changed to

Code: Select all

if (false === fwrite($this->handle, $command . "\r\n"))
Otherwise each successfully sent command triggers an error.
Post Reply