diff --git a/web/add/web/index.php b/web/add/web/index.php index f205838a5..cd3801a7d 100644 --- a/web/add/web/index.php +++ b/web/add/web/index.php @@ -252,8 +252,7 @@ top_panel($user,$TAB); $hostname = exec('hostname'); $from = "Vesta Control Panel "; $mailtext .= "Your ftp account has been created successfully and is ready to use.\n\n"; - $mailtext .= "ip: ".$_POST['v_ip']."\n"; - $mailtext .= "domain: ".$_POST['v_domain']."\n"; + $mailtext .= "hostname: ".$_POST['v_domain']."\n"; $mailtext .= "username: ".$user."_".$_POST['v_ftp_user']."\n"; $mailtext .= "password: ".$_POST['v_ftp_password']."\n\n"; $mailtext .= "--\nVesta Control Panel\n"; diff --git a/web/edit/web/index.php b/web/edit/web/index.php index 32a62630a..37b7e70d8 100644 --- a/web/edit/web/index.php +++ b/web/edit/web/index.php @@ -536,8 +536,7 @@ top_panel($user,$TAB); $hostname = exec('hostname'); $from = "Vesta Control Panel "; $mailtext .= "Your ftp account has been created successfully and is ready to use.\n\n"; - $mailtext .= "ip: ".$v_ip."\n"; - $mailtext .= "domain: ".$_GET['domain']."\n"; + $mailtext .= "hostname: ".$_GET['domain']."\n"; $mailtext .= "username: ".$user."_".$_POST['v_ftp_user']."\n"; $mailtext .= "password: ".$_POST['v_ftp_password']."\n\n"; $mailtext .= "--\nVesta Control Panel\n";