---
title: How to use MDaemon Pro Theme when running Webmail in IIS
description: MDaemon version 19.5 (and above) introduced a replacement of the old Mobile theme with an updated theme, the Pro theme.  If the current Webmail service is running using IIS, additional configurations need to be made in order to utilize the new theme.
---

[Skip to content](https://knowledge.mdaemon.com/mdaemon-19.5-and-above-how-to-use-the-mobile-theme-when-running-webmail-in-iis#main-content)

[![](https://knowledge.mdaemon.com/hs-fs/hubfs/MDaemon-Technologies_logo.png?width=200&height=150&name=MDaemon-Technologies_logo.png)](https://mdaemon.com/)

- [Knowledge Base Home](https://knowledge.mdaemon.com/)
- [Go to www.mdaemon.com](https://mdaemon.com/)

Open main navigation

Close main navigation

- [Knowledge Base Home](https://knowledge.mdaemon.com/)
- [Go to www.mdaemon.com](https://mdaemon.com/)
- [Contact Us](https://mdaemon.com/pages/contact-us)

[Contact Us](https://mdaemon.com/pages/contact-us)

 Knowledge Base

- There are no suggestions because the search field is empty.

1. [Knowledge Base Home](https://knowledge.mdaemon.com/?hsLang=en)
2. [MDaemon Email Server](https://knowledge.mdaemon.com/mdaemon-email-server?hsLang=en)

# How to use MDaemon Pro Theme when running Webmail in IIS

## MDaemon version 19.5 (and above) introduced a replacement of the old Mobile theme with an updated theme, the Pro theme. If the current Webmail service is running using IIS, additional configurations need to be made in order to utilize the new theme.

NOTE: The setup and support of these services under IIS is NOT supported by MDaemon Technologies' support team.  Those who choose to run any MDaemon related protocols or services under IIS must be aware of all security issues and ramifications of running any applications under IIS.

1. Edit the Default Document of the Webmail folder
2. Select the **Webmail** folder (not to be confused with the Webmail site name in this example)
3. Double click **Default Document**
4. Select the **WorldClient.dll** default document
5. Click **Remove  
   ![iis mdaemon webmail mobile default document](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-default-document.png?width=688&name=iis-mdaemon-webmail-mobile-default-document.png)**
6. Click **Add**
7. Enter **index.html**
8. Click **OK  
   ![iis mdaemon webmail mobile default index](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-default-index.png?width=688&name=iis-mdaemon-webmail-mobile-default-index.png)**
9. Redirect WorldClientAPI requests to the worldclient.dll
10. Select the **Webmail** website
11. Double click on **Handler Mappings**
12. Select **Add Script Map...  
    ![iis mdaemon webmail mobile default handler mapping](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-default-handler-mapping.png?width=688&name=iis-mdaemon-webmail-mobile-default-handler-mapping.png)**
13. Enter **WorldClientAPI** in the Request Path
14. The **Executable Path** is the **worldclient.dll** in the \\MDaemon\\WorldClient\\HTML directory
15. Enter **WorldClientAPI** for the name
16. Click **Request Restrictions  
    ![iis mdaemon webmail mobile script map](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-script-map.png?width=477&name=iis-mdaemon-webmail-mobile-script-map.png)**
17. Remove the check mark in the **Invoke handler only if request is mapped to:**  
    ![iis mdaemon webmail mobile request restrictions](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-request-restirctions.png?width=477&name=iis-mdaemon-webmail-mobile-request-restirctions.png)
18. Select the Verbs tab and verify **All verbs** is selected  
    ![iis mdaemon webmail mobile verbs](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-verbs.png?width=477&name=iis-mdaemon-webmail-mobile-verbs.png)
19. Select the Access tab and select **Execute  
    ![iis mdaemon webmail mobile access](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-access.png?width=477&name=iis-mdaemon-webmail-mobile-access.png)**
20. Click **OK**
21. Click **Yes  
    ![iis mdaemon webmail mobile notification](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-notification.png?width=496&name=iis-mdaemon-webmail-mobile-notification.png)**
22. Create a URL Rewrite
23. Select the **Webmail** folder (not to be confused with the Webmail site name in this example)
24. Double Click **URL Rewrite**
25. Select **Add Rules** from the Actions menu
26. Select **Blank rule**  
    ![iis mdaemon webmail mobile add rule](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-add-rule.png?width=688&name=iis-mdaemon-webmail-mobile-add-rule.png)
27. Click OK
28. Enter a name for the Inbound Rule
29. Select **Matches the Pattern** in the Requested URL
30. Select **Regular Expressions** in the Using drop down
31. Enter **.\*** in the Pattern text box  
    ![iis mdaemon webmail mobile edit rule](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-edit-rule.png?width=688&name=iis-mdaemon-webmail-mobile-edit-rule.png)
32. Expand the Conditions section
33. Click **Add** in the Condition section
34. Select **Is Not a Directory** in the Check if input string section  
    This changes the Condition to {REQUEST\_FILENAME}
35. Click **OK**
36. Click **Add** in the Condition section
37. Select **Is Not a File** in the Check if input string section  
    This changes the Condition to {REQUEST\_FILENAME}
38. Click **OK**
39. Select **Rewrite** for the Action Type
40. Enter **index.html** in the Action Properties
41. Check **Append query string**
42. Check **Log rewritten URL**  
    ![iis mdaemon webmail mobile edit rule inbound](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1236/iis-mdaemon-webmail-mobile-edit-rule1.png?width=688&name=iis-mdaemon-webmail-mobile-edit-rule1.png)
43. Click **Apply** to apply the Inbound rule

- [MDaemon Email Server](https://knowledge.mdaemon.com/mdaemon-email-server?hsLang=en#main-content)

    - [Mobile Device Management](https://knowledge.mdaemon.com/mdaemon-email-server?hsLang=en#mobile-device-management)
- [MDaemon AntiVirus (SecurityPlus)](https://knowledge.mdaemon.com/mdaemon-antivirus-securityplus?hsLang=en)
- [ActiveSync for MDaemon](https://knowledge.mdaemon.com/activesync-for-mdaemon?hsLang=en)
- [MDaemon Connector for Outlook (Outlook Connector)](https://knowledge.mdaemon.com/mdaemon-connector-for-outlook-outlook-connector?hsLang=en)
- [SecurityGateway for Email Servers](https://knowledge.mdaemon.com/securitygateway-for-email-servers?hsLang=en)
- [RelayFax Network Software](https://knowledge.mdaemon.com/relayfax-network-software?hsLang=en)

[![Chill listening crop-3](https://knowledge.mdaemon.com/hs-fs/hubfs/belch.io/template-assets/MDaemon-Technologies_logo.png?width=199&height=41&name=MDaemon-Technologies_logo.png "Chill listening crop-3")](https://www.mdaemon.com)

[Knowledge Base Home](https://knowledge.mdaemon.com?hsLang=en)

<https://www.youtube.com/c/MDaemonTechnologies> <https://www.linkedin.com/company/mdaemon-technologies/> <https://www.facebook.com/MDaemon.Technologies/> <https://www.twitter.com/MDaemon_Email>

Copyright © 2025, MDaemon Technologies