Author |
|
dhrajee Newbie
Joined: 18 April 2016 Location: Czechoslovakia
Online Status: Offline Posts: 7
|
Posted: 21 April 2016 at 4:11am | IP Logged
|
|
|
Hello
when sending the enail with bigger attachment size ~14M I get the error message:
"Data transfer has failed, probably due to server error. Please contact system administrator"
However email is received with the attachment and stored in the 'Sent' folder.
My php.ini file settings allowing attachment size up to 50M. I didn't have this problem while I was using Roundcube on the same mailserver.
In the settings.xml the options is set to
<EnableAttachmentSizeLimit>Off</EnableAttachmentSizeLimit>
Please could you tell me what am I missing?
Thank you
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 21 April 2016 at 4:17am | IP Logged
|
|
|
I'm assuming this is about WebMail Lite PHP, please correct if that's not the case.
To determine what's causing the problem, you need to enable logging in AdminPanel, make sure log verbosity is set to Debug, reproduce the problem and check what's in the logs. Look for error messages returned by mail server. Checking error logs of webserver / PHP may help you as well.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
dhrajee Newbie
Joined: 18 April 2016 Location: Czechoslovakia
Online Status: Offline Posts: 7
|
Posted: 21 April 2016 at 4:57am | IP Logged
|
|
|
Hi Igor
of course I did it. Nothing in postfix logs - as I said this problem didn't occured when I was using roundcube on the same mailserver. So I can just avoid the mailserver settings completely.
From WebMail lite debug logs:
there is only this part that contains the error message:
[10:57:56.31][647711be] Array
(
[AccountID] => 2
[FileData] => Array
(
[name] => 20160421_100932.jpg
[type] => image/jpeg
[tmp_name] => /tmp/phpC25FPN
[error] => 0
[size] => 388330
)
[AdditionalData] =>
[IsExt] => 0
[TenantHash] =>
[Token] => <I deleted string to not be seen in the forum>
[AuthToken] =>
)
Thank you
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 21 April 2016 at 5:01am | IP Logged
|
|
|
Most likely, the issue occurs because sending email through your SMTP server takes too much time. And though email itself is being sent out successfully, webmail client disconnects from the session due to timeout.
Timeout value is set to 50 seconds by default, and it's possible to increase that value, see static/js/app.js file:
Code:
timeout: oParameters.Action === 'MessagesGetBodies' ? 100000 : 50000 |
|
|
You can increase the 2nd number there and set it to, say, 300000 which corresponds to 5 minutes.
Note that app.js file isn't used by default - its minified version app.min.js is used. To change that, add the following item to the array defined in data/settings/config.php file:
Code:
'labs.use-app-min-js' => false, |
|
|
Hope this helps.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
dhrajee Newbie
Joined: 18 April 2016 Location: Czechoslovakia
Online Status: Offline Posts: 7
|
Posted: 21 April 2016 at 6:24am | IP Logged
|
|
|
Hi Igor,
I followed your suggestions and it didn't help. Do you have any other idea, please?
Thank you
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 21 April 2016 at 6:28am | IP Logged
|
|
|
No, it's the only one we have at the moment. Without anything relevant showing in web server logs, there's no way for us to suggest anything else.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
dhrajee Newbie
Joined: 18 April 2016 Location: Czechoslovakia
Online Status: Offline Posts: 7
|
Posted: 21 April 2016 at 8:46am | IP Logged
|
|
|
Hi Igor,
thanks for the reply. In this case I'm going to rollback to Roundcube as it is more stable. Your Webmail-lite has a nice interface, but obviously missing the stability.
Thanks for your support
|
Back to Top |
|
|