WebMail Pro ASP.NET documentation

Configuring WebMail via settings.xml file


Here is described each parameter in data/settings/settings.xml file. The file contains global settings of WebMail Pro. Frequently used options can be set via AdminPanel while others are amended in the file directly. Changes are applied once file is saved and new user session is started.

While Common section defines global application options, rest of the sections define default values for all the domains, and most of those can be overriden for particular domain using AdminPanel.

<Common> section

<SiteName>AfterLogic WebMail Pro</SiteName>

Default title that will be shown in browser's header (Default domain settings).


License key is supplied here.



Administrative credentials.


Database engine used, MySQL or MSSQL.


Prefix used for database tables' names. Empty by default, tables are called a_users, awm_messages, acal_events etc.


Specify hostname or socket path used for connecting to SQL database.


The name of database in SQL server used by WebMail.


Login for SQL user.


Password to access SQL database.


Default interface language. List of languages is obtained by getting filenames from /lang directory.


Default timezone offset.


Default time format. Accepted values: F12 (for AM/PM) or F24.




Activating debug logging and user activity logging (EnableLogging and EnableEventLogging respectively). For debug logs, verbosity level can be set to Full, Warning or Error. Log files are saved in data/logs directory, filename patterns are log_YYYY-MM-DD.txt and events_YYYY-MM-DD.txt respectively.

<WebMail> section


Setting this to Off has the effect of turning WebMail off, useful for maintenance.
Accepted values: On or Off.








<OutgoingMailLogin />

<OutgoingMailPassword />



Mail access configuration used in Default domain settings, they are used automatically unless overrided explicitly.
OutgoingMailAuth defines authentication approach:

* NoAuth - don't use SMTP authentication;

* AuthSpecified - always use login and password set in OutgoingMailLogin and OutgoingMailPassword respectively;

* AuthCurrentUser - use user's login and password for SMTP authentication (default).
OutgoingSendingMethod is reserved for future use, it's supposed to define approach for sending mail. The only value currently supported is Specified.


Reserved for future use.


Specifies interval for automated mailcheck. For instance, if this is set to 10 minutes, WebMail would fetch information about new messages every 10 minutes during user session. WebMail will issue a notification in window/tab title when there are new messages.
Accepted values: 0 (autocheckmail disabled), 1, 5, 10, 15, 30.


Specifies default skin for WebMail appearance. List of skins is obtained as list of subdirectories under skins dir.


Mail list is divided into pages. Each page holds specified number of mail messages to display.
Accepted values: 5, 10, 20, 25, 50, 75, 100.



Reserved for future use.


Setting this to On makes WebMail request mailbox size from IMAP server. This works for IMAP accounts only. Quota is optional IMAP extension and not all IMAP servers support it.
Accepted values: On or Off.


This option defines whether users are permitted to adjust look and feel for their accounts, such as skin, language etc.
Accepted values: On or Off.


Depending on this option, users can be permitted or disallowed to change email account access details.
Accepted values: On or Off.


Specifies whether to limit attachment size or not. Webserver-level settings might still restrict actual size of attachment.
Accepted values: On or Off.


Specifies maximum allowed size (in Kbytes) of the file to be attached to the message during composing. If the attachment file size exceeds specified limit, it will be rejected.


Shows (On) or hides (Off) language selector on login page where user can choose interface language before logging in.


Defines how language selector works. When set to Off, it will be simple dropdown in top right corner. When it's On, full language list is displayed as set of flags below login form.


Default login page view.
Accepted values:

* Email - full email address is requested;

* LoginAtDomainDropdown - user should enter username and select domain part from dropdown menu;

* LoginAtDomain - user should enter username only, while domain part is defined with LoginAtDomainValue;

* Login - username is entered and search for matching account is performed. If the account doesn't exist, WebMail tries to create it, and domain part is taken from DefaultDomainValue.


If LoginFormType is set to LoginAtDomain, this value will be displayed and added after username to make a complete email address.


Use email as login. Default value is On. When set to Off, username part of email address will be used as mail server login.

<DefaultDomainValue />

This parameter is used for building email address when LoginFormType is set to Login, if WebMail Pro was unable to locate any matching account.


Settings this to On allows for entering custom account access details, such as incoming/outgoing hosts and ports. Both mailbox login and email address are to be supplied in this mode.


Setting this to Off would restrict new users from accessing WebMail. Default value is On. In most cases, there's no need to change this.


This option allows or forbids creating multiple email accounts per user.


Reserved for future use.




Allow users to include images into the message text via DHTML editor. Set to On by default.
Accepted values: On or Off.



Enable or disable max body size of composing message (in characters).


Maximum subject size for a message. Set to 0 for unlimited.


Switching between two layout modes.
Accepted values: Side or Bottom.


On for displaying external images, Off for prompting user on this.


Defines whether sent messages are placed to Sent Items folder.
Accepted values: Always, DefaultOn, DefaultOff.
Unless this option's value is set to Always, user can choose the behavior when sending particular mail out.


Default session timeout (in seconds). Webserver-level settings might still restrict actual value of timeout. 0 stands for persistent session while browser window is open.


By default, WebMail Pro detects special folders (also known as system ones) based on their name in IMAP folder tree. In case if IMAP server supports XLIST extension, setting this to On allows for detecting special folders even if they're called in non-standard (e.g. localized) manner.


With this set to On, the information about previous login will be displayed in user interface.

<Calendar> section


Enable/disable Calendar screen.
Accepted values: On or Off.


Accepted values: On or Off.



Accepted values: 0...23.


Accepted values: On or Off.


Accepted values: Sunday or Monday.


Accepted values: Day, Week, Month.


Invitation sent from calendar are accepted automatically, event will be added to recipient's calendar. With this option set to Off, recipient's confirmation is required.

<Contacts> section


Enable/disable Contacts screen.
Accepted values: On or Off.


Accepted values: 5, 10, 20, 25, 50, 75, 100.




Accepted values: Off, Sql, Ldap (Ldap is reserved for future versions).







Accepted Mode values: Off, Sql, Ldap (Ldap is reserved for future versions).

Global AddressBook Visibility values:

Off - Global Address Book is disabled, domains settings are ignored;

SystemWide - Global Address Book is enabled between all the domains,

regardless of settings for each particular domain;

DomainWide - Global Address Book is configured on per-domain basis.


With this option set to On, global address book is displayed as additional tab in Contacts screen of user account.