adds mail.php

This commit is contained in:
2026-06-04 15:14:03 +01:00
parent e4cd434586
commit 231ffbd0e8
2 changed files with 65 additions and 0 deletions
+30
View File
@@ -1,5 +1,35 @@
<?php namespace JoeacNet\Http\Config;
function localSmtpFrom(): string|null
{
return (string) getenv("LOCAL_SMTP_FROM");
}
function localSmtpFromName(): string|null
{
return (string) getenv("LOCAL_SMTP_FROM_NAME");
}
function localSmtpHost(): string|null
{
return (string) getenv("LOCAL_SMTP_HOST");
}
function localSmtpPort(): string|null
{
return (string) getenv("LOCAL_SMTP_PORT");
}
function localSmtpUser(): string|null
{
return (string) getenv("LOCAL_SMTP_USER");
}
function localSmtpPass(): string|null
{
return (string) getenv("LOCAL_SMTP_PASSWORD");
}
function dbScheme(): string|null
{
return (string) getenv("DB_SCHEME");