# Zimbra Email 1.X For WHMCS

# (opens new window) About Zimbra Email For WHMCS (opens new window)

Zimbra Email For WHMCS is a module which allows your customers to manage email accounts of your domain directly in WHMCS.

Your clients will be able to conveniently manage mailboxes, email and domain aliases and quickly move to their webmails.
Our product is simple in use and offers everything you need to conveniently manage Zimbra accounts.

  • Admin Area

    • Create Account
    • Terminate Account
    • Change Package
    • Change Password
    • Go To Zimbra Webmail
    • Use Class Of Service As:
      • Fixed Choice
      • Allowed Single Choice By Clients
      • Allowed Multiple Choices Of Quota Per Account
      • Custom Settings
    • Generate Default Configurable Options
  • Client Area

    • Manage Email Accounts
    • Manage Email Aliases
    • Manage Distribution Lists
    • Manage Domain Aliases
    • Upgrade / Downgrade Account
    • Change Account Password
    • Go To Zimbra Webmail
  • Configurable Options

    • Email Accounts Limit
    • Email Account Size
    • Email Aliases Limit
    • Distribution List Limit
    • Domain Aliases Limit
    • Class Of Service
  • General Info

# Installation and Configuration

This tutorial will show you how to successfully install and configure Zimbra Email For WHMCS. (opens new window)
We will guide you step by step through the whole installation process.

# Installation

  1. Log in to our client area and download the module.
Zimbra Email 1.X For WHMCS: client area product Downloads tab with the Download button for version 1.5.2
  1. In the downloaded file you might find one or two packages that support different PHP versions.
    In the most recent versions of the module, you will find only one package that supports PHP 7.1 and later.
    If you need a package for the previous versions of PHP, please contact our support (opens new window).

    Zimbra Email 1.X For WHMCS: downloaded archive PHP71_TO_PHP73.zip shown in a file list

    Previous updates of the module may contain two packages dedicated to various PHP versions.
    The first one that supports PHP 5.6 up to PHP 7.0, and the second one addressed to PHP 7.1 up to PHP 7.3.
    Note: Keep in mind that PHP versions 5.6 up to 7.0 are no longer officially supported and their security issues are not fixed or released any more. Find more info here (opens new window).

    Zimbra Email 1.X For WHMCS: file manager listing two packages, one for PHP 5.6 to 7.0 and one for PHP 7.1 to 7.3

    Important: This situation does not affect the open source version (opens new window) of this module which can be applied to any PHP from version 5.6 and later.
    Note: You can check the current PHP version in your WHMCS. To do so, proceed to 'Utilities' → 'System' → 'PHP Info'.

  2. Once you have chosen the package with the right PHP version, extract it and upload its content into the main WHMCS directory.
    The content of the chosen PHP version files to upload should look like this.

    Zimbra Email 1.X For WHMCS: file manager showing the extracted modules folder to upload
  3. When you install Zimbra Email For WHMCS for the first time you have to rename 'license_RENAME.php' file.
    File is located in 'modules/servers/zimbraEmail/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'.

    Zimbra Email 1.X For WHMCS: server file list with licenseRENAME.php being renamed to license.php
  4. In order to configure your license key you have to edit a previously renamed 'license.php' file.
    Enter your license key between quotation marks as presented on the following screen. You can find your license key in our client area → 'My Products'.

Zimbra Email 1.X For WHMCS: license.php file with the license key entered between quotation marks

# Server Configuration

  1. Now let's configure a new product. Log in to your WHMCS, press 'Setup' → 'Products/Services' → 'Servers'.
    Afterwards press 'Add New Server'.

    Zimbra Email 1.X For WHMCS: WHMCS Servers page with the Add New Server button highlighted
  2. Next, enter your server name and Zimbra server hostname. Type in your username and password used to log in to Zimbra server.
    Choose 'ZimbraEmail' from a dropdown menu and press 'Save Changes'.
    Keep in mind that value of client area button 'Go To Webmail' is taken from the 'Hostname' field. If the field is empty, it is taken from an 'IP Address' field.
    Here you can also provide other server details like nameservers or maximum number of accounts.
    Alternatively, custom ports may be set in 'Access Hash' section.

    Zimbra Email 1.X For WHMCS: WHMCS Add Server form with name, hostname, ZimbraEmail type, username and password
  3. After you configure your server correctly, you will see a following screen.
    Now you need to create a new group for your server. For that purpose press 'Create New Group'.

    Zimbra Email 1.X For WHMCS: WHMCS Servers page after adding the server, with the Create New Group button
  4. Enter name, click on your previously created server, press 'Add' then 'Save Changes'.

Zimbra Email 1.X For WHMCS: WHMCS Create New Group form with ZimbraGroup name and ZimbraServer selected to add

# Product Configuration

  1. In order to create and configure product, click on 'Setup' → 'Products/Services' → 'Products/Services'.
    If you do not have a product group, click on 'Create a New Group'. If you do, simply move to step 12.

    Zimbra Email 1.X For WHMCS: WHMCS Products/Services page with the Create a New Group button highlighted
  2. Enter product group name and press 'Create Group'.

Zimbra Email 1.X For WHMCS: WHMCS Create Group form with the Zimbra Email Products group name entered
  1. When you have a product group, you can create your product and assign it to Zimbra Email. If you already have a product, go to step 14.
    To create a product click on 'Create a New Product'.

    Zimbra Email 1.X For WHMCS: WHMCS Products/Services list with the Create a New Product button highlighted
  2. Afterwards, choose your product type and product group from dropdown menus, enter your product name and press 'Continue'.

Zimbra Email 1.X For WHMCS: WHMCS Create a New Product form with type, group, name and the Continue button
  1. Now, go to 'Module Settings' section, choose both 'ZimbraEmail' and your previously created server group from dropdown menus.
Zimbra Email 1.X For WHMCS: product Module Settings tab with ZimbraEmail module and ZimbraGroup server group chosen
  1. Afterwards, define settings of the module and press 'Save Changes'.
    Note 1: If you choose 'Use Custom Settings' from 'Class Of Service Name' dropdown menu, you can define your own set of user permissions using sections below.
    Note 2: If you choose 'Allow clients to choose Class Of Service', additional configurable options will be generated.
    Clients will be allowed to set Class Of Service while ordering your product.

    Zimbra Email 1.X For WHMCS: product Module Settings with Zimbra settings and features selected and Save Changes
  2. If you select 'Allow Clients to choose Class Of Service Quota Per Account' in Class Of Service Name, 'Mailbox Accounts' settings will appear.
    Define the number of accounts limits for each available size. Your clients will be allowed to order product with limits defined in configurable options and create mailboxes within the defined quota size.

    Zimbra Email 1.X For WHMCS: Module Settings with Class Of Service For Mailbox Accounts limits for each quota size
  3. Additionally, you can replace modules static limit with dynamic one in form of configurable options.
    Press 'Generate Default' near 'Configurable Options' to generate default set of them.
    More about management of configurable options can be found here.

Zimbra Email 1.X For WHMCS: product Module Settings with the Generate Default button for Configurable Options

This is how a properly created and configured product should look like from the administrator site.

Zimbra Email 1.X For WHMCS: fully configured Zimbra Email product Module Settings page in the WHMCS admin area

# Management

Let's customize your Zimbra Email For WHMCS and see what features it has in offer.

# Admin Area

Zimbra Email product management site:

  1. Log In To Control Panel
  2. Edit configurable options values - available options depend on configuration in 'Module Settings'
  3. Module Commands:
    • Create
    • Suspend/Unsuspend
    • Terminate
    • Change Package
Zimbra Email 1.X For WHMCS: WHMCS admin client service page with resource limits and Zimbra module commands

# Client Area

# Ordering Process

Order page view of a product with 'Allow clients to choose Class Of Service' option selected:

Zimbra Email 1.X For WHMCS: WHMCS order form with configurable options and the Class Of Service dropdown

Order page view of a product with 'Allow Clients to choose Class Of Service Quota Per Account' option selected:

Zimbra Email 1.X For WHMCS: WHMCS order form with quota sliders for Class Of Service Per Account

# Management

Zimbra Email allows your customers to manage their zimbra email accounts from your WHMCS client area.
This is how its management page looks like in the client area. Move to the below sections to learn more details.

Zimbra Email 1.X For WHMCS: WHMCS client area Manage Product page with Zimbra Email management menu
# Email Accounts

Email Accounts section enables full management of accounts associated with your domain.
You may edit existing accounts with a wide range of options and create new ones within defined limits.

Zimbra Email 1.X For WHMCS: client area Email Accounts Management with Add Mailbox button and mailbox list

Press 'Add Mailbox' to create a new account.
Fill out the fields to provide any details on the account owner. Only fields marked with an asterisk are obligatory.
Note: The 'Quota' field is available to select only if Class of service Quota Per Account is used for the product. If the limit has been reached, the client will not be able to create an account.

Zimbra Email 1.X For WHMCS: client area Add Email Accounts form with the Quota field and Save button

You can order various operations on a single account using the marked on the screen menu.
Alternatively, you can select multiple accounts and issue any command using buttons above the list of accounts.

Zimbra Email 1.X For WHMCS: client area Email Accounts list with the per-account actions menu open
# Email Aliases

Email Aliases enable you to create and use additional address for the same e-mail account.
Note: Email aliases are created within the same email domain.
Read more about Domain Aliases below.

Zimbra Email 1.X For WHMCS: client area Email Aliases Management with Create New Email Alias form

Any alias can be quickly removed through pressing an adequate icon.

Zimbra Email 1.X For WHMCS: client area Email Aliases list with the delete icons highlighted
# Distribution Lists

Distribution lists enable you to create and manage them without the necessity to log into Zimbra panel.

Zimbra Email 1.X For WHMCS: client area Distribution Lists Management with Add Distribution List button

Create them in the same way you would do that in Zimbra panel. Start with entering an email address, then move to assigning members to the list.
Proceed with setting detailed options.

Zimbra Email 1.X For WHMCS: Add Distribution List form on the Members tab with display name and member lists

Remember that in order to enable the distribution list on its creation, you must select option 'Can Receive Mail' in 'Properties' section.

Zimbra Email 1.X For WHMCS: Add Distribution List Properties tab with the Can Receive Mail option checked

Assign email aliases if you have any.

Zimbra Email 1.X For WHMCS: Add Distribution List Email Aliases tab with an alias address field and Add button

You may also add/remove owners of the list.

Zimbra Email 1.X For WHMCS: Add Distribution List Owners tab with owner address fields and Add and Remove buttons

As soon as you set the last preferences, press 'Save' to finally create the distribution list.

Zimbra Email 1.X For WHMCS: Add Distribution List Preferences tab with Reply To settings and the Save button

If you made a mistake while creating a list, you can quickly edit it or remove it completely.

Zimbra Email 1.X For WHMCS: client area Distribution Lists table with the Edit and Delete actions menu open
# Domain Aliases

Domain Aliases option allows you to create more than one domain name that will refer to the same account.
Add a new domain alias, like on the below screen, and no matter which address used, emails will be delivered to the same mailbox.

Zimbra Email 1.X For WHMCS: client area Domain Aliases Management with Create New Domain Alias form

When a domain alias is no longer needed, simply delete it by pressing an icon.

Zimbra Email 1.X For WHMCS: client area Domain Aliases list with the delete icons highlighted

# Management of Billing

When you combine Zimbra Email For WHMCS with Advanced Billing For WHMCS (opens new window), you will be able to set up additional billing options.

Zimbra Email 1.X For WHMCS: Advanced Billing configuration page with the Pricing button for the Zimbra Emails product

Module allows you to charge your customers basing on the server resources used by them.
For more detailed information on the configuration please refer to our Advanced Billing For WHMCS documentation.

Zimbra Email 1.X For WHMCS: Advanced Billing Set Pricing dialog for Zimbra Emails with usage record prices

With Advanced Billing module, you can also display the current server resource usage and their cost and let your customers see it.

Zimbra Email 1.X For WHMCS: client area Zimbra Email product page showing Usage Records with resource usage and cost

# Tips

  1. Zimbra Email For WHMCS requires SOAP installed on your server.

# Update Instructions

Essential guidance through the process of updating the module is offered here.

Keep in mind there is a quick and easy option in our client area that will let you upgrade the license of your module to an open source version at any time - and at a lower price!
To take advantage of it, simply use the License Upgrade button located on the product's page and a discounted invoice will be generated automatically.

# Common Problems

  1. When you have problems with connection, check whether your SELinux or firewall does not block ports.

  2. If you got 'A problem with module occurred. Please contact the administration' error, please validate the correctness of your module license key first and you may also try to reissue key in your ModulesGarden control panel.

  3. The error 'Could not connect to host' is connected with SOAP. To fix it, make sure that port default 7071 is open.
    Otherwise you can change the communication port by specifying it in 'Access Hash' in the Zimbra server configuration.

Zimbra Email 1.X For WHMCS: Access Hash field in the WHMCS server configuration for custom port settings