ca & reg_system.cgi question...

From: POWERHOUSE (powerhouse@servicenterprises.com)
Date: Tue Jan 14 2003 - 20:46:21 EST


Ok, I'm taking out all the .ca references in the reg_system.cgi

does this part need to stay? It don't look like it to me... What do you think?

Better asked on the dev list?

  # sample routine to send message to customer
      # THINK: Email & RACE...
  if (not ( $in{reg_type} eq 'transfer' and
     $in{domain} =~ /\.ca/ )
  ){
  if ($REG_SYSTEM{F_SEND_THANKYOU}) {
   if ($in{domain} =~ /\.ca$/){
   $in{owner_first_name}||=$in{admin_first_name};
   }
   send_email("$path_templates/thankyou.txt",
       {
       %in,
       domain => $domain,
       mailto => $in{owner_email},
       mailfrom => $ADMIN_EMAIL,
       id => $id,
       });
  }
  }

The very first part of it looks like I won't need it:
             if (not ( $in{reg_type} eq 'transfer' and $in{domain} =~ /\.ca/ ) ) {

Since there will NOT be any .ca that statement can NEVER be true.

I don't ever seem to see any email on the dev list anymore, of course they all
come to the same email address, so maybe I don't notice it. Should I ask this
question there?

Thanks,
Richard.



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:34 EDT