Home Reseller Hosting Resolving WHMCS Email Piping and Support Ticket Configuration Issues

Resolving WHMCS Email Piping and Support Ticket Configuration Issues

Last updated on Aug 15, 2025

Resolving WHMCS Email Piping and Support Ticket Configuration Issues

**Description:**This step-by-step guide will help Brixly shared hosting customers diagnose and resolve issues with automatic support ticket creation in WHMCS using email piping. It is designed for those with basic technical knowledge and focuses on solutions that do not require server administrator access.


Table of Contents


Introduction

WHMCS email piping allows customer emails sent to a specific address (e.g., support@yourdomain.com) to automatically create support tickets in your WHMCS helpdesk. If tickets are not being created as expected, this guide will help you fix the most common setup and configuration issues.


How Email Piping Works in WHMCS

  1. Customer sends an email to your support address.
  2. cPanel Forwarder pipes the email to the WHMCS pipe script.
  3. WHMCS parses the email and creates a support ticket.
  4. Staff respond via the WHMCS admin area or via email.

> No server root access is required; all steps can be performed via cPanel and the WHMCS admin interface.


Step 1: Verify Your Email Account Setup

  • Ensure the email address you want to use for support (e.g., support@yourdomain.com) exists in cPanel.
  • Log in to cPanel > Email Accounts and confirm that the mailbox is active.
  • Tip: You may use a standard mailbox or create a forwarder only (see next step).

Step 2: Set Up or Check Forwarders in cPanel

WHMCS email piping requires a forwarder to send incoming messages to the pipe script.

  1. Log in to cPanel and go to Email > Forwarders.

  2. Click Add Forwarder.

  3. Enter your support email username (e.g., support).

  4. For Destination, select Pipe to a Program.

  5. Enter the full path to the WHMCS pipe script.

    • For most shared hosting, the path is:
    public_html/whmcs/crons/pipe.php
    
    • Use a relative path from your home directory, e.g.:
    |/home/yourcpaneluser/public_html/whmcs/crons/pipe.php
    

    Replace yourcpaneluser with your actual cPanel username and whmcs with your WHMCS directory if different.

  6. Click Add Forwarder to save.

Example:

|/home/demo123/public_html/whmcs/crons/pipe.php

Do not include spaces before or after the pipe (|) symbol.


Step 3: Configure the Pipe Script Path

  • Verify the pipe.php script exists in your WHMCS installation under the /crons/ directory.
  • The script must be executable. If you have access to File Manager:
    • Right-click on pipe.php > Change Permissions
    • Set permissions to 755 (rwxr-xr-x).

Note: Do not use Windows line endings (\r\n) in the script if editing. Upload via cPanel File Manager or FTP in ASCII mode.


Step 4: Permissions and File Ownership

  • The pipe.php script must be owned by your cPanel user.
  • Permissions should be 755.
  • If you’re unsure about file permissions, use cPanel’s File Manager to confirm or reset them.

Step 5: Test the Email Piping Functionality

  1. Send a test email to your support address from an external email (not associated with your WHMCS admin).
  2. Wait a few minutes and log in to your WHMCS admin area.
  3. Go to Support > Support Tickets.
  4. Check if a new ticket has been created.

Troubleshooting Common Issues

1. Ticket Not Created

  • **Check the forwarder:**In cPanel, verify the forwarder exists and the pipe path is correct.
  • **Check email delivery:**Is the test email arriving in the mailbox? If so, the forwarder may not be set up for piping, or the script path is wrong.
  • **Script permissions:**The pipe.php script must have permissions set to 755.

2. Bounced Emails

  • Ensure the piped path is correct and does not contain typos.
  • The pipe script should start with | and no extra spaces.
  • The path must be relative to the home directory (not /root or /).

3. Duplicate or No Tickets

  • Do not set both a mailbox and a forwarder pointing to the script for the same address. Use one method.
  • Avoid setting up multiple forwarders for the same address.

4. WHMCS Not Parsing Emails

  • In WHMCS, go to Setup > Support > Support Departments.
    • Ensure the support department is configured to receive emails from the correct address.
    • The Email Address here must match the address your forwarder is set up for.

5. PHP Errors or Blank Tickets

  • Errors may occur if the PHP version on your account is incompatible.
    • Use cPanel > Select PHP Version to ensure compatibility (WHMCS usually requires PHP 7.2+).
  • Check WHMCS Activity Log under Utilities > Logs > Activity Log for error messages.

When to Contact Support

If you have followed all the above steps and tickets are still not being created:

  • Take note of:
    • The support email address used
    • The exact forwarder path set in cPanel
    • Any error or bounce messages received
    • Steps you have already tried
  • Submit a support ticket and provide the above details for efficient assistance.

Useful Links & Resources


By following this guide, most WHMCS email piping and support ticket configuration issues can be resolved independently. For persistent issues, our support team is ready to help!