Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Error when sending message Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gert.dekeyzer
Newbie
Newbie


Joined: 14 August 2013
Location: Belgium
Online Status: Offline
Posts: 4
Posted: 14 August 2013 at 12:59pm | IP Logged Quote gert.dekeyzer

I just installed the webmail. The install was successful but when I want to send a message I'll get this error.

"An error occured during sending the message"

I've all-ready searched in the forum, but I can't find the solution. Maybe because it's all new to me.

LOG:
FIRST:
With Outgoing mail: send.one.com 25 or 465 or 2525

[11:19:56.66] [POST(18)] /email/index.php?/Ajax/
[11:19:56.66] POST > [DraftInfo, DraftUid, To, Cc, Bcc, Subject, Text, Importance, Sensivity, ReadingConfirmation, InReplyTo, References, Action, IsHtml, ShowReport, SentFolder, AccountID, Token]
[11:19:56.66]
[11:19:56.66] Previous Exception: Can't connect to host "ssl://send.one.com:465"
------
NOW: (after chatting with one.com)
With Outgoing mail: mailout.one.com 25

[19:39:00.73] [POST(18)] /email/index.php?/Ajax/
[19:39:00.73] POST > [DraftInfo, DraftUid, To, Cc, Bcc, Subject, Text, Importance, Sensivity, ReadingConfirmation, InReplyTo, References, Action, IsHtml, ShowReport, SentFolder, AccountID, Token]
[19:39:00.73]
[19:39:00.73] Previous Exception: MailSo-Smtp-Exceptions-LoginBadMethodException (SmtpClient.php ~ 193)
------
I'll also changed smtpclient.php (with no result)
if (is_array($aLine) && 0 < count($aLine) && !empty($aLine[0]))


SITE:
http://repetitorcollege.be/email
Test adress: test@repetitorcollege.be Password: r****l
(Host is one.com)

Tanks!
Back to Top View gert.dekeyzer's Profile Search for other posts by gert.dekeyzer
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6088
Posted: 14 August 2013 at 9:17pm | IP Logged Quote Igor

That's a known problem, and the solution for it was posted in this forum topic.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
gert.dekeyzer
Newbie
Newbie


Joined: 14 August 2013
Location: Belgium
Online Status: Offline
Posts: 4
Posted: 15 August 2013 at 3:36pm | IP Logged Quote gert.dekeyzer

I changed the code and tried different ports.
SMTP auth is enabled.

I don't understand everything in that topic but I must do something wrong.

Gert


Back to Top View gert.dekeyzer's Profile Search for other posts by gert.dekeyzer
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6088
Posted: 16 August 2013 at 2:14am | IP Logged Quote Igor

Have just tested this, and SMTP hostnames you mentioned don't seem to respond. However, this FAQ page mentions a different SMTP host, send.one.com - and I was able to use it to send mail from that account, I've used port 25, no SSL.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
gert.dekeyzer
Newbie
Newbie


Joined: 14 August 2013
Location: Belgium
Online Status: Offline
Posts: 4
Posted: 16 August 2013 at 11:05am | IP Logged Quote gert.dekeyzer

It didn't work with send.one.com but I've found the solution.
mailout.one.com, No SSL, Port 25, No authentication

Thanks for helping!
Back to Top View gert.dekeyzer's Profile Search for other posts by gert.dekeyzer
 
moe
Newbie
Newbie


Joined: 20 August 2013
Online Status: Offline
Posts: 1
Posted: 20 August 2013 at 1:20am | IP Logged Quote moe

Hey Guys,

Got the same problem with one.com.
i tried mailout.one.com, no ssl, port 25, no auth and finally emails got delivered.
at the email form in the webinterface remains a error "Data transfer has failed, probably due to server error. Please contact system administrator.", but emails got delivered.

Someone got the same experience?

Regards,
moe
Back to Top View moe's Profile Search for other posts by moe
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6088
Posted: 20 August 2013 at 1:21am | IP Logged Quote Igor

Checking the logs is required if you'd like to know the exact reason of failure. Also, please check my previous post - I got a successful send using connection details mentioned there.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Fanta2k
Newbie
Newbie


Joined: 05 February 2014
Location: Sweden
Online Status: Offline
Posts: 4
Posted: 06 February 2014 at 1:22am | IP Logged Quote Fanta2k

moe wrote:
Hey Guys,

Got the same problem with one.com.
i tried mailout.one.com, no ssl, port 25, no auth and finally emails got delivered.
at the email form in the webinterface remains a error "Data transfer has failed, probably due to server error. Please contact system administrator.", but emails got delivered.

Someone got the same experience?

Regards,
moe


Hi i have same issue like you did you find the solution?
Back to Top View Fanta2k's Profile Search for other posts by Fanta2k
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6088
Posted: 06 February 2014 at 1:26am | IP Logged Quote Igor

Based on the issue description, I would suggest that it occurs when trying to upload sent mail into Sent folder. Still, it's needed to study the logs to find out what exactly is causing this.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Fanta2k
Newbie
Newbie


Joined: 05 February 2014
Location: Sweden
Online Status: Offline
Posts: 4
Posted: 06 February 2014 at 2:05am | IP Logged Quote Fanta2k

Igor wrote:
Based on the issue description, I would suggest that it occurs when trying to upload sent mail into Sent folder. Still, it's needed to study the logs to find out what exactly is causing this.

--
Regards,
Igor, AfterLogic Support


As i can see there is no errors or exceptions in the log.
The mail is sent but the error displats shows.

[10:00:21.72] call CProModule->StandardPostAction->ServicesLogging()
[10:00:21.72] Location: index.php?root

[10:00:21.84] /mail/adminpanel/index.php?root
[10:00:21.84]
[10:00:21.84] call CWebMailModule->PopulateData->ServicesLogging()
[10:00:21.85] call CProModule->PopulateData->ServicesLogging()

[10:00:25.97] [POST(17)] /mail/index.php?/Ajax/
[10:00:25.97] POST > [DraftUid, To, Cc, Bcc, Subject, Text, Importance, Sensivity, ReadingConfirmation, InReplyTo, References, Action, IsHtml, ShowReport, SentFolder, AccountID, Token]
[10:00:25.97]
[10:00:25.97] AJAX: Action: MessageSend
[10:00:25.97] DB : start connect to localhost@localhost
[10:00:26.07] DB : connected to localhost@localhost
[10:00:26.08] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields` FROM awm_accounts WHERE `id_acct` = 5
[10:00:26.08] DB[2] > SELECT `id_domain`, `id_tenant`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `site_name`, `lang`, `def_user_timezone`, `def_user_timeformat`, `def_user_dateformat`, `allow_registration`, `allow_pass_reset`, `allow_webmail`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_auth`, `mail_out_login`, `mail_out_pass`, `mail_out_ssl`, `mail_out_method`, `check_interval`, `skin`, `msgs_per_page`, `allow_change_interface_settings`, `allow_change_account_settings`, `allow_users_add_acounts`, `allow_new_users_register`, `layout`, `xlist`, `allow_contacts`, `contacts_per_page`, `global_addr_book`, `allow_calendar`, `cal_show_weekends`, `cal_workday_starts`, `cal_workday_ends`, `cal_show_workday`, `cal_week_starts_on`, `cal_default_tab` FROM awm_domains WHERE `id_domain` = 1
[10:00:26.09] DB[3] > SELECT `id_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `last_login`, `logins_count`, `def_skin`, `def_lang`, `def_editor`, `save_mail`, `layout`, `incoming_charset`, `def_timezone`, `def_time_fmt`, `def_date_fmt`, `client_timezone`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 5
[10:00:26.10] IMAP[NOTE]: Start connection to "ssl://imap.one.com:993"
[10:00:26.13] IMAP[TIME]: 0.03574800491333 (raw connection)
[10:00:26.17] IMAP[DATA]: < * OK IMAP4 ready\r\n
[10:00:26.17] IMAP[TIME]: 0.076839923858643 (*)
[10:00:26.18] IMAP[DATA]: > TAG1 CAPABILITY\r\n
[10:00:26.18] IMAP[DATA]: < * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE XMAGICTRASH AUTH=PLAIN\r\n
[10:00:26.18] IMAP[DATA]: < TAG1 OK completed\r\n
[10:00:26.18] IMAP[TIME]: 0.0029170513153076 (TAG1)
[10:00:26.18] IMAP[SECURE]: > TAG2 LOGIN "*****@******.net" "*******"\r\n
[10:00:26.21] IMAP[DATA]: < TAG2 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in\r\n
[10:00:26.22] IMAP[TIME]: 0.037868976593018 (TAG2)
[10:00:26.22] SMTP[NOTE]: Start connection to "mailout.one.com:25"
[10:00:26.23] SMTP[TIME]: 0.0053389072418213 (raw connection)
[10:00:26.23] SMTP[DATA]: < 220 mail-out2.b-one.net ESMTP Postfix\r\n
[10:00:26.23] SMTP[TIME]: 0.010295152664185
[10:00:26.23] SMTP[DATA]: > EHLO web32\r\n
[10:00:26.23] SMTP[DATA]: < 250-mail-out2.b-one.net\r\n
[10:00:26.24] SMTP[DATA]: < 250-PIPELINING\r\n
[10:00:26.24] SMTP[DATA]: < 250-SIZE 20480000\r\n
[10:00:26.24] SMTP[DATA]: < 250-ETRN\r\n
[10:00:26.24] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[10:00:26.24] SMTP[DATA]: < 250-8BITMIME\r\n
[10:00:26.24] SMTP[DATA]: < 250 DSN\r\n
[10:00:26.25] SMTP[TIME]: 0.012110948562622
[10:00:26.25] SMTP[DATA]: > MAIL FROM:<test@test.net> SIZE=838\r\n
[10:00:26.25] SMTP[DATA]: < 250 2.1.0 Ok\r\n
[10:00:26.25] SMTP[TIME]: 0.0010020732879639
[10:00:26.25] SMTP[DATA]: > RCPT TO:<*********@hotmail.com>\r\n
[10:00:26.25] SMTP[DATA]: < 250 2.1.5 Ok\r\n
[10:00:26.25] SMTP[TIME]: 0.0014522075653076
[10:00:26.25] SMTP[DATA]: > DATA\r\n
[10:00:26.25] SMTP[DATA]: < 354 End data with <CR><LF>.<CR><LF>\r\n
[10:00:26.25] SMTP[TIME]: 0.0033581256866455
[10:00:26.25] SMTP[NOTE]: Message data.
[10:00:26.26] SMTP[DATA]: > .\r\n
[10:00:26.30] SMTP[DATA]: < 250 2.0.0 Ok: queued as 3DDECE5DC\r\n
[10:00:26.31] SMTP[TIME]: 0.053860187530518
[10:00:26.33] SMTP[DATA]: > QUIT\r\n
[10:00:26.36] SMTP[DATA]: < 221 2.0.0 Bye\r\n
[10:00:26.36] SMTP[TIME]: 0.033534049987793
[10:00:26.36] SMTP[NOTE]: Disconnected from "mailout.one.com:25" (success)
[10:00:26.36] SMTP[TIME]: 0.14096903800964 (net session)
[10:00:26.37] IMAP[DATA]: > TAG3 APPEND "INBOX.Sent" (\Seen) {838}\r\n
[10:00:26.40] IMAP[DATA]: < + OK\r\n
[10:00:26.40] IMAP[NOTE]: Write to connection stream
[10:00:26.41] IMAP[DATA]: > \r\n
[10:00:27.16] IMAP[DATA]: < TAG3 OK [APPENDUID 1340187398 14] Append completed.\r\n
[10:00:27.16] IMAP[TIME]: 0.7959680557251 (TAG3)
[10:00:27.17] DB[4] > SELECT view_email FROM awm_addr_book WHERE deleted = 0 AND id_user = 5 AND view_email IN ('************@************.com')
[10:00:27.17] DB[5] > UPDATE awm_addr_book     SET use_frequency = use_frequency + 1
WHERE deleted = 0 AND id_user = 5 AND view_email IN ('walkalone_dark@hotmail.com')
[10:00:27.17] DB[6] > SELECT id_acct FROM awm_accounts WHERE def_acct = 1 AND id_user = 5
[10:00:27.17] DB[7] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields` FROM awm_accounts WHERE `id_acct` = 5
[10:00:27.17] DB[8] > SELECT `id_domain`, `id_tenant`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `site_name`, `lang`, `def_user_timezone`, `def_user_timeformat`, `def_user_dateformat`, `allow_registration`, `allow_pass_reset`, `allow_webmail`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_auth`, `mail_out_login`, `mail_out_pass`, `mail_out_ssl`, `mail_out_method`, `check_interval`, `skin`, `msgs_per_page`, `allow_change_interface_settings`, `allow_change_account_settings`, `allow_users_add_acounts`, `allow_new_users_register`, `layout`, `xlist`, `allow_contacts`, `contacts_per_page`, `global_addr_book`, `allow_calendar`, `cal_show_weekends`, `cal_workday_starts`, `cal_workday_ends`, `cal_show_workday`, `cal_week_starts_on`, `cal_default_tab` FROM awm_domains WHERE `id_domain` = 1
[10:00:27.18] DB[9] > SELECT `id_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `last_login`, `logins_count`, `def_skin`, `def_lang`, `def_editor`, `save_mail`, `layout`, `incoming_charset`, `def_timezone`, `def_time_fmt`, `def_date_fmt`, `client_timezone`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 5
[10:00:27.22] DB : disconnect from localhost@localhost
[10:00:27.22] INFO[MEMORY]: Memory peak usage: 4.75MB
[10:00:27.22] IMAP[DATA]: > TAG4 LOGOUT\r\n
[10:00:27.22] IMAP[DATA]: < * BYE Logging out\r\n
[10:00:27.22] IMAP[DATA]: < TAG4 OK Logout completed.\r\n
[10:00:27.22] IMAP[TIME]: 0.0026390552520752 (TAG4)
[10:00:27.22] IMAP[NOTE]: Disconnected from "ssl://imap.one.com:993" (success)
[10:00:27.22] IMAP[TIME]: 1.1234529018402 (net session)

[10:00:39.94] /mail/adminpanel/index.php?pop&type=log&action=view
[10:00:39.94]
[10:00:39.94] call CWebMailModule->StandardPopAction->Services()
Back to Top View Fanta2k's Profile Search for other posts by Fanta2k
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6088
Posted: 06 February 2014 at 2:09am | IP Logged Quote Igor

Then it's probably unrelated to communicating with mail server, something else makes PHP throw error there, so checking PHP logs may help.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Fanta2k
Newbie
Newbie


Joined: 05 February 2014
Location: Sweden
Online Status: Offline
Posts: 4
Posted: 06 February 2014 at 2:16am | IP Logged Quote Fanta2k

There is no errors in the php log.
Back to Top View Fanta2k's Profile Search for other posts by Fanta2k
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6088
Posted: 06 February 2014 at 2:20am | IP Logged Quote Igor

Out of ideas, then. If there's a message about XML data packet damaged by something, that would typically be caused by PHP error message.

I'd recommend to check browser console (enabled with F12 key in Google Chrome, for instance) and see if anything unusual is displayed in that console.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Fanta2k
Newbie
Newbie


Joined: 05 February 2014
Location: Sweden
Online Status: Offline
Posts: 4
Posted: 06 February 2014 at 2:24am | IP Logged Quote Fanta2k

I fixed it thanks.
By turning of php logging fixed this error. But there was no error in the log.
Back to Top View Fanta2k's Profile Search for other posts by Fanta2k
 

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