Changeset 76 for branches/stable/cgi-bin


Ignore:
Timestamp:
11/19/04 14:44:18 (20 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Bugfixes for mail notification

  • Subject should now be correct
  • Messages should show a "To" field
Location:
branches/stable/cgi-bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/IPDB.pm

    r71 r76  
    8484  $mailer->to($recip);
    8585  $mailer->data("From: \"IP Database\" <ipdb\@example.com>\n",
     86        "To: $recip\n",
    8687        "Date: ".strftime("%a, %d %b %Y %H:%M:%S %z",localtime)."\n",
    8788        "Subject: {IPDB} $subj\n",
  • branches/stable/cgi-bin/main.cgi

    r75 r76  
    990990    syslog "notice", "$authuser allocated $cidr to $webvar{custid}";
    991991# Notify tech@example.com
    992     mailNotify('tech@example.com','$full_alloc_types{$webvar{alloctype}} allocation',
     992    mailNotify('tech@example.com',"$full_alloc_types{$webvar{alloctype}} allocation",
    993993        "$full_alloc_types{$webvar{alloctype}} $cidr allocated to customer $webvar{custid}");
    994994
Note: See TracChangeset for help on using the changeset viewer.