- Products
- Purchase
Order Online Maintenance Renewal Resellers - Support
Helpdesk Online Documentation Web Forum - Our Clients
- About
About us Services Contact
Error while attaching files to new message. Please advise.
MailSuite Pro
MailSuite Pro
MailSuite Pro
WebMail Pro
WebMail Pro
WebMail Pro
Windows
Windows
Windows
Linux
Linux
Linux
Red-Hat
Red-Hat
Red-Hat
CentOS
CentOS
CentOS
Debian
Debian
Debian
.NET
.NET
.NET
PHP
PHP
PHP
IIS
IIS
IIS
Apache
Apache
Apache
attachment
attachment
attachment
error
error
error
problem
problem
problem
Common problem with attachments is insufficient permissions for attachments folder which is located in the data folder. Please refer to this topic for Linux or this topic for Windows to learn how to grant necessary permissions.
Another typical reason of this issue is that attachments size is limited in PHP configuration. To increase the limit, open your php.ini file and locate the following lines:
* upload_max_filesize = 2M
* post_max_size = 8M
You should set these limits according to your needs, but post_max_size should be equal to at least upload_max_filesize * 2.
Also, if you use IIS 6, size of a file that can be uploaded onto the server is limited to 200K by default. You can increase this limit according to you needs. To do this, type "notepad %WINDIR%\system32\inetsrv\MetaBase.xml" in command line, search for the "AspMaxRequestEntityAllowed" property, and specify necessary size in bytes, then save this file. Please note, "Enable Direct Metabase Edit" must be turned on, in other case, you will be not able to edit this file. To check this option, look at your web host properties in Internet Information Services (IIS) Manager.
For .NET version of WebMail Pro, you should try adding httpRuntime tag with maxRequestLength value set in web.config file under system.web:
The value is set in Kbytes, so it equals 8Mb. Of course, you can specify any other value.
Another typical reason of this issue is that attachments size is limited in PHP configuration. To increase the limit, open your php.ini file and locate the following lines:
* upload_max_filesize = 2M
* post_max_size = 8M
You should set these limits according to your needs, but post_max_size should be equal to at least upload_max_filesize * 2.
Also, if you use IIS 6, size of a file that can be uploaded onto the server is limited to 200K by default. You can increase this limit according to you needs. To do this, type "notepad %WINDIR%\system32\inetsrv\MetaBase.xml" in command line, search for the "AspMaxRequestEntityAllowed" property, and specify necessary size in bytes, then save this file. Please note, "Enable Direct Metabase Edit" must be turned on, in other case, you will be not able to edit this file. To check this option, look at your web host properties in Internet Information Services (IIS) Manager.
For .NET version of WebMail Pro, you should try adding httpRuntime tag with maxRequestLength value set in web.config file under system.web:
<httpRuntime maxRequestLength="8192" />
The value is set in Kbytes, so it equals 8Mb. Of course, you can specify any other value.