small mail updates

This commit is contained in:
genuineparts 2025-06-05 20:28:52 +02:00
parent b46c7941db
commit da41634c79
2 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
<?php
$module["mail"]["name"]="Mail Class";
$module["mail"]["ver"]="0.7.0";
$module["mail"]["ver"]="0.7.1";
class mail {
var $errstr;
@ -16,9 +16,9 @@ class mail {
function __construct() {
$this->attachments = array();
$this->semi_rand = md5(time());
$this->boundary = '==astat_'.$this->semi_rand ;
$this->boundary = '==becast_'.$this->semi_rand ;
$this->headers = array(
'From' => 'astat Mail Class <noreply@astat.org>',
'From' => 'BeCast WebEngine Mail Class <noreply@becast.at>',
'MIME-Version' => '1.0',
'Content-Type' => "multipart/mixed; boundary=\"".$this->boundary."\""
);
@ -108,4 +108,4 @@ class mail {
mail($to, $subject, $_body, $this->get_header());
}
}
?>
?>