AJAX webmail access examples

The following examples are of how to use AJAX to access MailEnable webmail to perform functions. Due to AJAX limiting calls to come from same domain, you must run these examples under the webmail directory. ie. if you want to test, copy all the files to the Mail Enable\Bin\NETWebMail directory and run from there, using http://mewebmail.localhost on the server. If you want to run from an alternate domain, edit the common.js file and change the first line to reflect where you have located the examples and webmail.


Examples:
Example 1Displays a user's message list
Example 2Adds a contact
Example 3Adds a new task
Example 4Get mailbox options
Example 5List mailbox folders
Example 6Displays user's account information