I was reading through domains.php and noticed this: Line 271: // Email the support address if an inactive domain is added $body = "inactive domain \"$domain\" added by ".$user_info['Email']."\n\n"; $body .= "\n\nThanks,\n\n"; $body .= "VegaDNS";
mail(strtolower($_REQUEST['username']),"New Inactive Domain Created",$body , "Return-path: $supportemail\r\nFrom: \"$supportname\" <$supportemail>");
From what I can tell I have never gotten an email when I create new domains. Then again I am the "super-admin". From what I can gather it is sending the email to the user that added the domain. What would be awesome is if the super-admin was notified that this domain was created. Then we don't have to randomly guess when we need to activate inactive domains ;). I could be mistaken on what this little bit of code is supposed to do...
-Ryan
Domains created by a senior admin are automatically active. So no email is necessary.
Regards,
Bill
