Continue fleshing out project management system

This commit is contained in:
Alex Cabal 2024-12-16 14:56:10 -06:00
parent 657ecc68d4
commit 051e286a6d
19 changed files with 420 additions and 108 deletions

View file

@ -73,10 +73,11 @@ class Email{
}
if(SITE_STATUS == SITE_STATUS_DEV){
Log::WriteErrorLogEntry('Sending mail to ' . $this->To . ' from ' . $this->From);
Log::WriteErrorLogEntry('Subject: ' . $this->Subject);
Log::WriteErrorLogEntry($this->Body);
Log::WriteErrorLogEntry($this->TextBody);
$log = new Log(EMAIL_LOG_FILE_PATH);
$log->Write('Sending mail to ' . $this->To . ' from ' . $this->From);
$log->Write('Subject: ' . $this->Subject);
$log->Write($this->Body);
$log->Write($this->TextBody);
}
else{
$phpMailer->Send();