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.
| Example 1 | Displays a user's message list |
| Example 2 | Adds a contact |
| Example 3 | Adds a new task |
| Example 4 | Get mailbox options |
| Example 5 | List mailbox folders |
| Example 6 | Displays user's account information |