Changeset 422 for trunk/cgi-bin/IPDB.pm


Ignore:
Timestamp:
07/06/10 15:50:22 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

checkpoint, email notice management. See #21.
Completed: display list, edit reciplist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r420 r422  
    827827  my ($action,$subj,$message) = @_;
    828828
     829##fixme: need to redesign the breakdown/processing for $action for proper handling of all cases
     830
    829831# split action into parts for fiddlement.  nb: there are almost certainly better ways to do this.
    830   my @actionbits = ($action =~ /^(.)(.)(.)$/);
     832  my @actionbits = split //, $action;
    831833
    832834  # want to notify anyone who has specifically requested notify on *this* type ($action as passed),
     
    859861    $mailer->mail("ipdb\@$domain");
    860862    $mailer->to($recip);
    861     $mailer->data("From: \"IP Database\" <ipdb\@$domain>\n",
     863    $mailer->data("From: \"$org_name IP Database\" <ipdb\@$domain>\n",
    862864        "To: $recip\n",
    863865        "Date: ".strftime("%a, %d %b %Y %H:%M:%S %z",localtime)."\n",
Note: See TracChangeset for help on using the changeset viewer.