Swiftmailer Gmail and error type 2
Posted: Sun Oct 08, 2006 3:15 am
Weirdan | Please use
I didn't see the error without using "clsErrorHandle" class.
This is exacly the place where the error comes in Swift.php:
It seems that it can't read the right place of memory.
Can anybody help?
Weirdan | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I use Swift and Google's gmail as a smtp server. I can send emails but get an error:Code: Select all
Sun, 08 Oct 2006 10:56:54 +0300; fgets() [function.fgets]: SSL: fatal protocol error (error type 2 in /home/hyperpol/public_html/missionangels/swift/Swift.php on line 851) [context: Array]This is exacly the place where the error comes in Swift.php:
Code: Select all
function getResponse()
{
if (!$this->connection->readHook || !$this->isConnected()) return false;
$ret = "";
while (true)
{
$tmp = @fgets($this->connection->readHook);Can anybody help?
Weirdan | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]