Current time: 11-27-2024, 11:35 AM Hello There, Guest! (LoginRegister)


Post Reply 
System Mail TPLs ?
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: System Mail TPLs ?
I mean there was something under /gui/include/admin-functions.php about line 1518 Wink
Code:
....
....
ispCP Log

Server: $default_hostname ($default_base_server_ip)
Version: $VersionH ($Version - $BuildDate)

Message: ----------------[BEGIN]--------------------------

$msg

Message: ----------------[END]----------------------------

AUTO_LOG_MSG;

                $headers = "From: ispCP  Logging Daemon <$admin_email>\n";

                $headers .= "MIME-Version: 1.0\nContent-Type: text/plain; charset=utf-8\nContent-Transfer-Encoding: 7bit\n";

                $headers .= "X-Mailer: ispCP $Version Logging Mailer";

                $mail_result = mail($to, $subject, $message, $headers);

                $mail_status = ($mail_result) ? 'OK' : 'NOT OK';

                $log_message = "$admin_login: Logging Daemon Mail To: |$to|, From: |$admin_email|, Status: |$mail_status|!";

                exec_query($sql, "INSERT INTO log (log_time,log_message) VALUES(NOW(), ?)", $log_message, false);
        }
...
...
...

Greez BeNe
10-05-2007 12:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
System Mail TPLs ? - fulltilt - 10-04-2007, 10:51 PM
RE: System Mail TPLs ? - BeNe - 10-05-2007 12:07 AM
RE: System Mail TPLs ? - fulltilt - 10-05-2007, 01:12 AM
RE: System Mail TPLs ? - Breaki - 10-05-2007, 02:23 AM
RE: System Mail TPLs ? - fulltilt - 10-05-2007, 02:51 AM
RE: System Mail TPLs ? - Breaki - 10-05-2007, 03:17 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)