diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-04 15:14:03 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-04 15:14:03 +0100 |
| commit | 231ffbd0e88735bce6b7f337a09b99b07a214c86 (patch) | |
| tree | e058c48fc102892252a1d7eca90b7ed3f1a21578 /http/php/config.php | |
| parent | e4cd434586f40e232bc8536aacdc05cc5fae1119 (diff) | |
adds mail.php
Diffstat (limited to 'http/php/config.php')
| -rw-r--r-- | http/php/config.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/http/php/config.php b/http/php/config.php index 6a2d059..9fee39a 100644 --- a/http/php/config.php +++ b/http/php/config.php @@ -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"); |
