WebMail F.A.Q.

1. Messages in my mailbox are truncated to certain size (I'm using MS SQL Server as a back-end for WebMail). What's wrong?
2. Fatal error: Allowed memory size of [###] bytes exhausted (tried to allocate [###] bytes) in [path]/[file].php on line [###]
3. Administration settings disappeared. Why?
4. Error while attaching files to messages. Please advice.
5. I can't see embedded graphics while viewing HTML-formatted email message. Any suggestions?
6. Does the POP3 protocol support Read/Unread messages or is it "home made" by WebMail?
Is there anyway of displaying a "New mail" icon through the POP3 protocol?

1. Messages in my mailbox are truncated to certain size (I'm using MS SQL Server as a back-end for WebMail). What's wrong?
Most probably, MS SQL Server limitations specified in your PHP configuration are too small. Increase the following values in your php.ini:
; Valid range 0 - 2147483647. Default = 4096.
mssql.textlimit = 99999999
; Valid range 0 - 2147483647. Default = 4096.
mssql.textsize = 99999999
After editing the PHP configuration file, you will probably need to restart your webserver. Check your server manual to find out how to do that.
Please note, these changes won't affect messages which are already stored in the database, it will affect new messages only.

2. Fatal error: Allowed memory size of [###] bytes exhausted (tried to allocate [###] bytes) in [path]/[file].php on line [###]
This error caused by limitation of memory available for PHP script.
Increase the PHP configuration setting memory_limit (see the [PHP manual]). After editing the PHP configuration file, you will probably need to restart your webserver. Check your server manual to find out how to do that.
You should add the following line (or change existing) into your php.ini file:
memory_limit = 60M
We recommend you to specify not lesser than 50M because large messages require additional memory for processing.

3. Administration settings disappeared. Why?
First, make sure the correct path to the WebMail data folder is specified in inc_settings_path.php file.
Common reason of settings not being saved is read-only permission to the WebMail data folder or its contents. Check whether Internet Guest Account (or Apache user for Unix/Linux platform) has "write" permission over the data folder and all its contents.

4. Error while attaching files to messages. Please advice.
Common problem with attachments is insufficient permissions for attachments folder ("Path For Upload Attachments" defined in Administration panel). IIS anonymous user must have "Full Control" permission to this folder.
Also, if you are using 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 not be able to edit this file. To check this option, look at your host properties in Internet Information Services (IIS) Manager.
Also, attachments size may be limited in PHP configuration. 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.

5. I can't see embedded graphics while viewing HTML-formatted email message. Any suggestions?
See Answer #4

6. Does the POP3 protocol support Read/Unread messages or is it "home made" by WebMail?
Is there anyway of displaying a "New mail" icon through the POP3 protocol?
MailBee WebMail provides this functionality itself ("home made"). Unfortunately, POP3 protocol itself does not support read/unread status. MailBee WebMail Pro system uses database where IDs of messages are stored.
However, some POP3 servers append "Status" header to the each message. This header can take 2 values - "R" for Read and "U" for Unread. But this method is not reliable because many popular servers do not support it.

If you have any questions don't hesitate to email to support@afterlogic.com
Or visit our support web page at http://www.afterlogic.com/support
or web forum at http://www.afterlogic.com/forum