$row['id'],'fullname'=>$row['fullname'],'email'=>$row['email']); } return $results; } // get_users /** * add_statistics * This should be run if we want to add some statistics to this e-mail, appends to self::$message */ public static function add_statistics($methods) { } // add_statistics /** * send * This actually sends the mail, how amazing */ public static function send() { // Multi-byte Character Mail if(function_exists('mb_send_mail')) { mb_send_mail(self::$to, self::$subject, self::$message, implode("\n", self::$additional_header), '-f'.self::$sender); } else { mail(self::$to, self::$subject, self::$message, implode("\r\n", $additional_header), '-f'.self::$sender); } return true; } // send } // AmpacheMail class ?>