| Server IP : 189.126.111.107 / Your IP : 216.73.217.69 Web Server : Apache System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 User : gadotticar ( 1000) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/virtual-server/ |
Upload File : |
#!/usr/bin/perl
# Re-send the signup email
require './virtual-server-lib.pl';
&ReadParse();
$d = &get_domain($in{'dom'});
&can_config_domain($d) || &error($text{'edit_ecannot'});
&ui_print_header(&domain_in($d), $text{'reemail_title'}, "");
if (!&will_send_domain_email($d)) {
# Disabled for the domain
print $text{'reemail_dis'},"<p>\n";
}
elsif ($in{'confirm'}) {
# Send now
&send_domain_email($d, $in{'to'});
}
else {
# Ask who to
print "<center>\n";
print &ui_form_start("reemail.cgi");
print &ui_hidden("dom", $in{'dom'});
print $text{'reemail_desc'},"<p>\n";
print "<b>$text{'reemail_to'}</b>\n";
print &ui_textbox("to", $d->{'emailto'}, 50),"<p>\n";
print &ui_form_end([ [ "confirm", $text{'reemail_ok'} ] ]);
print "</center>\n";
}
&ui_print_footer(&domain_footer_link($d));