test code

This commit is contained in:
2023-04-16 12:32:07 +02:00
parent 37c281a25d
commit 79331ce222
3 changed files with 14 additions and 2 deletions

View File

@ -22,9 +22,9 @@ class Mail {
if (gettype($this->message) == 'string') {
if(mail($this->to, $this->subject, $this->message, $this->headers)) {
return 0;
return true;
} else {
return 1;
return false;
}
}
}