Author |
|
luan Newbie
Joined: 23 September 2008 Location: Vietnam
Online Status: Offline Posts: 1
|
Posted: 23 September 2008 at 8:12pm | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 24 September 2008 at 5:20am | IP Logged
|
|
|
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 |
|
|