There is a bug in VB 3.5.1 which make dont let the email to be sent using SMTP service... I found the patch on VB site but i am not understand due to the lack of knowlege of php and VBu... Could anyone help me out how to patch...
Offical Link saying how to fix the bug: hxxxp://www.vbulletin.com/forum/bugs35.php?do=view&bugid=1774
edit includes/class_mail.php
Код:
@@ -542,13 +542,12 @@ class vB_SmtpMail extends vB_Mail
return $this->errorMessage('Unexpected response when connecting to SMTP server');
}
- if (!$this->sendMessage('HELO ' . $this->smtpHost, 250))
- {
- return $this->errorMessage('Unexpected response from SMTP server during handshake');
- }
-
if ($this->smtpUser AND $this->smtpPass)
{
+ if (!$this->sendMessage('EHLO ' . $this->smtpHost, 250))
+ {
+ return $this->errorMessage('Unexpected response from SMTP server during handshake');
+ }
if ($this->sendMessage('AUTH LOGIN', 334))
{
if (!$this->sendMessage(base64_encode($this->smtpUser), 334) OR !$this->sendMessage(base64_encode($this->smtpPass), 235))
@@ -557,6 +556,10 @@ class vB_SmtpMail extends vB_Mail
}
}
}
+ else if (!$this->sendMessage('HELO ' . $this->smtpHost, 250))
+ {
+ return $this->errorMessage('Unexpected response from SMTP server during handshake');
+ }
I know i need to edit class_mail.php... but i dont understand what
- and
+ stands for...
I would be a lot thinkful someone can help me out...
Thanks