Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic Aurora

 AfterLogic Forum : AfterLogic Aurora
Subject Topic: Data transfer has failed ~Email Attachmet Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
letsgo
Newbie
Newbie
Avatar

Joined: 23 August 2016
Location: Turkey
Online Status: Offline
Posts: 15
Posted: 27 March 2017 at 1:18am | IP Logged Quote letsgo

Hi Guys,

When an account tries to send an email without attachment or with a small size attachment aurora works fine.

But when attachment bigger than 2MB, aurora show an error notification to the client instead of success message.

I tried to test this case multiple times and the email successfully sent with the attachment.
Bust ajax request doesn't return a response and aurora logs an error.

Client Notification :

Data transfer has failed, probably due to server error. Please contact system administrator.

Aurora Log :

[07:26:14.24][33fe60da] [POST(20)][ip:255.255.255.255] /?/Ajax/
[07:26:14.24][33fe60da] POST > [AccountID, FetcherID, IdentityID, DraftUid, To, Cc, Bcc, Subject, Text, IsHtml, Importance, Sensitivity, ReadingConfirmation, Attachments, InReplyTo, References, Action, ShowReport, SentFolder, Token]
[07:26:14.24][33fe60da]
[07:26:14.24][33fe60da] Previous Exception: MailSo-Net-Exceptions-SocketReadException (NetClient.php ~ 497)
[07:26:14.24][33fe60da] CApiManagerException: Unknown error in /var/www/html/libraries/afterlogic/common/managers/mail/manager.php:1227
Stack trace:
#0 /var/www/html/libraries/ProjectCore/Actions.php(1598): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent Items', '', '')
#1 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#2 /var/www/html/libraries/ProjectCore/Service.php(341): call_user_func(Array)
#3 /var/www/html/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#4 /var/www/html/index.php(104): include('/var/www/html/l...')
#5 {main}

Next ProjectCore\Exceptions\ClientException: MailSo-Net-Exceptions-SocketReadException (NetClient.php ~ 497) in /var/www/html/libraries/ProjectCore/Actions.php:1619
Stack trace:
#0 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#1 /var/www/html/libraries/ProjectCore/Service.php(341): call_user_func(Array)
#2 /var/www/html/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#3 /var/www/html/index.php(104): include('/var/www/html/l...')
#4 {main}

Aurora Version : 7.6.10

Also I set new values to "socket.connect-timeout" and "socket.set-timeout" on data/settings/config.php but it does not help

'socket.connect-timeout' => 300,
'socket.get-timeout' => 300
Back to Top View letsgo's Profile Search for other posts by letsgo
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 27 March 2017 at 3:14am | IP Logged Quote Igor

Can't be 100% sure without IMAP/SMTP logs, but in managers.php file, the line in question throws exception if message cannot be uploaded to Sent Items for some reason - which looks like a problem of mailserver level rather than webmail one. We recommend to set Verbosity level of logs to Debug, reproduce the problem and see if logs shed any light on what's going on. Also, see if the issue is reproduced on some specific account or a certain one, and if reassigning Sent folder in account settings helps.

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

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