Changeset 509


Ignore:
Timestamp:
11/16/11 17:19:12 (12 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Light tweaks to default mail setup; don't send anything if
still using the defaults.

Location:
branches/stable/cgi-bin
Files:
2 edited

Legend:

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

    r508 r509  
    837837  my ($action,$subj,$message) = @_;
    838838
     839  return if $domain eq 'example.com';   # no point being obnoxious if we're still stuck with defaults.
     840
    839841##fixme: need to redesign the breakdown/processing for $action for proper handling of all cases
    840842
  • branches/stable/cgi-bin/MyIPDB.pm

    r508 r509  
    2929# Set some globals declared in IPDB.pm.  Most of these only affect mailNotify().
    3030# Note that while you *can* leave these at defaults, it's probably a Really Bad Idea.
     31# Also note that mail will silently not happen if at least smtphost and domain are not set.
    3132#$IPDB::org_name = "Example Corp";
    3233#$IPDB::smtphost = '127.0.0.1';
Note: See TracChangeset for help on using the changeset viewer.