~budgester/irm/trunk

« back to all changes in this revision

Viewing changes to include/emailtracking.class.php

  • Committer: Martin N Stevens
  • Date: 2008-06-23 22:18:29 UTC
  • Revision ID: budgester@budgester.com-20080623221829-qalo1a1ml0gp1fon
Added create $DB connection at constructor time.

Slight modification to emailtracking

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
                if ($this->xirm == "IRM"){
96
96
                        PRINT "<hr>" . _("A message has been received with an IRM header. Dumping the message") . "<hr />";
97
97
                } else {
 
98
                        $_REQUEST['action'] = "";
98
99
                        $tracking = new Tracking();
99
100
                        $tracking->Author = $this->Author;
100
101
                        $tracking->AuthorEmail = $this->AuthorEmail;
106
107
                        $tracking->IsGroup = "no";
107
108
                        $tracking->EmailUpdatesToAuthor = "yes";
108
109
                        $tracking->Add();
109
 
 
110
110
                        PRINT "<hr>Added new  email job request from : " . $this->Author . "<hr />";
111
111
                }
112
112
        }