> -----Original Message-----
> From: Bill Shupp
> Sent: Thursday, June 10, 2004 4:42 PM
> 
> Ryan White wrote:
> > 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
> 

Yea, but as senior admin I don't get emails when inactive domains are
created by group admins or normal users. It seems like the senior admin is
the best person to receive these emails. I'm probably just misunderstanding
the point of this part of code.

-Ryan

Reply via email to