Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: error when I sending mess Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
luan
Newbie
Newbie
Avatar

Joined: 23 September 2008
Location: Vietnam
Online Status: Offline
Posts: 1
Posted: 23 September 2008 at 8:12pm | IP Logged Quote luan

When I send a new message, Webmail show error "Can't send message" and in logs file show

[09/24/2008 10:43:17] [SMTP] Connecting to server 210.245.87.113 on port 25
[09/24/2008 10:43:17] SMTP >>: EHLO 6363.com.vn
[09/24/2008 10:43:17] SMTP Error <<: 502 5.5.1 Sorry, we do not support this operation
[09/24/2008 10:43:17] SMTP >>: RSET 6363.com.vn
[09/24/2008 10:43:17] SMTP >>: AUTH LOGIN
[09/24/2008 10:43:17] [SMTP] Sending encoded login
[09/24/2008 10:43:17] SMTP >>: a2llbXRyYUA2MzYzLmNvbS52bg==
[09/24/2008 10:43:17] [SMTP] Sending encoded password
[09/24/2008 10:43:17] SMTP >>: MTIzNDU2
[09/24/2008 10:43:17] SMTP >>: MAIL FROM:<kiemtra@6363.com.vn>
[09/24/2008 10:43:17] SMTP Error <<: 503 5.5.1 HELO/EHLO command required
[09/24/2008 10:43:17] >>>[from_server]>>>


Please support for me!!
Thanks!
Back to Top View luan's Profile Search for other posts by luan
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 24 September 2008 at 5:20am | IP Logged Quote Andrew

Open class_smtp.php file, locate the following block (line ~120):

Code:
function Send(&$link, &$account, &$message, $from, $to, &$log)
{
     $ehloMsg = trim(EmailAddress::GetDomainFromEmail($account->Email));
     $ehloMsg = strlen($ehloMsg) > 0 ? $ehloMsg : $account->MailOutHost;
     $result = CSmtp::ExecuteCommand($link, 'EHLO ' . $ehloMsg, $log);
     if (!$result)
     {
           $result = CSmtp::ExecuteCommand($link, 'RSET '. $ehloMsg, $log);
           if (!$result)
           {
                $result = CSmtp::ExecuteCommand($link, 'HELO '. $ehloMsg, $log);
           }
     }


replace it with:

Code:
function Send(&$link, &$account, &$message, $from, $to, &$log)
{
     $ehloMsg = trim(EmailAddress::GetDomainFromEmail($account->Email));
     $ehloMsg = strlen($ehloMsg) > 0 ? $ehloMsg : $account->MailOutHost;
     $result = CSmtp::ExecuteCommand($link, 'EHLO ' . $ehloMsg, $log);
     if (!$result)
     {
           $result = CSmtp::ExecuteCommand($link, 'HELO '. $ehloMsg, $log);
     }


Please let us know if this helps.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide