Init commit

This commit is contained in:
2026-04-06 14:15:32 +02:00
parent ce7e5a71b5
commit 874d85e1d8
45 changed files with 9652 additions and 0 deletions

58
mail.php Normal file
View File

@@ -0,0 +1,58 @@
<?php
class email {
// Reciever - String var
// Format: "email@adresa.cz"
public $reciever = null;
// Sender - string var
// Format: "Zobrazene Jmeno <email@adresa.cz>"
public $sender = null;
// ReplyTo - string var
// Format: "email@adresa.cz"
public $replyTo = null;
// CarbonCopies - string array
// Format: array("email@adresa.cz", "email@adresa.cz", ...)
public $cc = null;
// Subject - string var
// Format: "Some String"
public $subject = null;
// MailContent - string var
// Format: "Some String"
public $content = null;
// headers - string var
// Is built by setHeader() function
private $headers = "";
public function setHeaders() {
if(isset($this->sender) ) {
$this->headers .= "From: " . $this->sender . PHP_EOL;