Email Piping

Email piping automatically imports emails for an email address into the support ticket system. As a result, clients can open and reply to tickets via email without the need to log in to the Client Area first.

  • Email piping and email importing use separate configurations and are distinct methods of importing email replies.
    • We recommend using email piping if you use cPanel & WHM and only import email replies from one domain.
    • We recommend using email importing if you use other control panels or if you want to import email from multiple domains.
  • Your mail service provider is separate from your configuration for email piping. You can update this configuration at Configuration () > System Settings > General Settings in the Mail tab.

Configuring Email Piping

To configure email piping for a support department, you must configure the pipe.php file.

To do this:

  1. Go to Configuration () > System Settings > Support Departments.
    The list of support departments in the Admin Area.
    Before you can set up email piping, you must configure your support departments at Configuration () > System Settings > Support Departments. Add each of your departments and the email address that you assigned to them.
  2. Copy the command to use to pipe email from Ticket Importing using Email Forwarders file path (or, if you use cPanel, only copy the file path).
    Importing Cron Commands
    If you have customized the location of the crons directory, ensure that the file path matches that location. The path will resemble the following example:
    \| php -q /home/username/public_html/whmcs/crons/pipe.php
    
  3. Use your preferred method to configure email piping.
    For steps to set up email piping with cPanel, see Set Up Email Piping - cPanel.
After you configure email piping, we recommend sending a test email to check your configuration. Do not use an admin’s email address to send this message.

RFC 3834

In WHMCS 8.1 and later, the system sends support emails with RFC 3834-compliant headers by default.

  • You can disable this at Configuration () > System Settings > General Settings in the Mail tab.
    Disabling RFC 3834 headers in General Settings
  • Regardless of your settings, WHMCS will not accept email that contains the Auto-Submitted header via email piping or email importing.

Blocked Support Email Replies

WHMCS may block email replies to existing support tickets for several reasons:

  • The sender is unregistered.
  • The sender is not a CC recipient.
  • The sender is not associated with the support ticket’s client account.

As of WHMCS 8.3, blocking only occurs if you have disabled Allow Insecure Imports in the Support tab at Configuration () > System Settings > General Settings. If this setting is disabled and blocking does occur, you can still view these replies and add them to support tickets manually.

Import Blocked Replies

To view and add blocked replies:

  1. Go to Support > Support Tickets.
  2. Click on the desired ticket.
  3. In the Blocked Replies message, click on the ticket ID and subject for the desired reply. The reply’s sender, subject, status, contents, and other information will appear. You will only see this message and its contents if there are email replies to import.
  4. Click Ignore Error and Import.
  5. Repeat this process for any other blocked email replies.

Support Ticket Mail Import Log

You can view and manually import blocked replies in the Support Ticket Mail Import Log at Configuration () > System Logs.

  • For steps to troubleshoot problems with email piping and a list of common errors and issues, see Troubleshooting the Support System.
  • For additional help, contact your hosting provider or mailserver administrator.

Last modified: November 15, 2024