mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Continue fleshing out project management system
This commit is contained in:
parent
657ecc68d4
commit
051e286a6d
19 changed files with 420 additions and 108 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue