<?php
// BEGIN SETUP

// Enter your webmail URL. Make sure it ends with a '/'
$url="ROUNDCUBE URL";
// Enter your webmail username
$username="USERNAME";
// Enter your webmail password
$password="PASSWORD";
// Enter you login host
$host="HOST";

// END SETUP

$url .= "?_task=login&al_action=submit";
?>
<html>
<form name='redirect' action='<?php echo $url; ?>' method='POST'>
<input type='hidden' name='al_username' value='<?php echo $username; ?>'>
<input type='hidden' name='al_password' value='<?php echo $password; ?>'>
<input type='hidden' name='al_host' value='<?php echo $host; ?>'>
<input type='submit'>
</form>

<script type='text/javascript'>
document.redirect.submit();
</script>
</html>
