How to change the number of messages listed in the web mail message list


SUMMARY

How to change the number of messages listed in web mail's message list.

DETAIL

This involves changing two ASP source code files used by web mail. The pages can be edited using Notepad. The file locations listed assume that MailEnable is installed in the default location. Upgrades of MailEnable will overwrite these settings, so keep a backup copy of these changes.

Change 1:

Increase the number of messages shown in the message list...

Edit the list.asp file in the following location:

C:\Program Files\Mail Enable\BIN\WebMail\base\default\lang\EN\Forms\MAI\list.asp

Before this line:
Set RS = oMessages.ListMessages()
Insert:
oMessages.RecordsPerPage = 100


Replace:
oMessages.TopRecord = (PageNumber-1) * 10
With:
oMessages.TopRecord = (PageNumber-1) * How many you want to list per page



Change 2:

To change the default amount of space allocated to the list...

Edit the file right.asp in the following location:

C:\Program Files\Mail Enable\BIN\WebMail\base\default\lang\EN\right.asp

Change this line:
<FRAMESET FRAMEBORDER=NO FRAMEBORDER=1 BORDER=0 ROWS="60,270,*">

To :
<FRAMESET FRAMEBORDER=NO FRAMEBORDER=1 BORDER=0 ROWS="60,300,*">

(increase 300 to the desired size).

MORE INFORMATION

Not all messages appear in web mail's message list: http://www.mailenable.com/kb/content/article.asp?ID=ME020224

Javascript errors when listing messages in web mail: http://www.mailenable.com/kb/content/article.asp?ID=ME020360



Product:MailEnable (Pro-Any Pro-1.X Ent-Any Ent-1.X)
Category:Configuration
Article:ME020129
Module:WebMail
Keywords:list,300,webmail,web,mail,messages,message,number,change,more,increase
Class:HOWTO: Product Instructions
Created:6/06/2003 1:34:00 AM
Revised:Wednesday, May 4, 2016
Author:
Publisher:MailEnable