#!/usr/bin/perl

print "Content-Type: Text/HTML\n\n";

use CGI ':standard';
use Vpanel 1.00;
require $header;
require $accountinfo;

$domainname = find_domain ($mainuser);

# Define the tab which appears to the front
$tab_section = $tabnum_email;

# Output the content associated with this tab
print "<body class=section-$tab_section>";

# display tabs
require $tabdisplay;

print_header("Creation of a 'multi-drop' ('catch-all') email account for $domainname");

print qq!

This option allows you to 'catch' all emails sent to email addresses \@$domainname, and send them to either your main user 
(the one you used to login to this control panel i.e. $mainuser), or to an email address of your choice. Please choose from the 
options below:<br><br>

<form class=text action=/$script_bin/$confirm_create_multidrop method=post>

<font color=#DD0000><b>Option One: Add to your current email set-up</b></font><br><br>

<input type=radio name=multidrop value=rem_user>Send emails for non-existent addresses to your main user $mainuser
<br><input type=radio name=multidrop value=rem_email>Send emails for non-existent addresses to another email address

!;

print_end_of_form();

require $footer;
