cPanel Webmail Direct Login Script

A simple and configurable script for direct login to the cPanel webmail applications(Horde, SquirrelMail, RoundCube).

<?php
// Modified version of the standard cPanel login page to allow direct login to a specific webmail application.
// Must set $host , $login_path , and $mail_app, defaults to cPanel proxy subdomains and SquirrelMail
$host = 'example.com';
// Uncomment one of the following to set login URL type

View full script