first send
This commit is contained in:
@@ -5,3 +5,15 @@ $emailtemplates = [
|
|||||||
'registration_resend_code' => 'template mit block',
|
'registration_resend_code' => 'template mit block',
|
||||||
'password_reset' => 'template mit block',
|
'password_reset' => 'template mit block',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Hinweis zu ENV-Variablen für den Versand (werden außerhalb dieses Files gesetzt):
|
||||||
|
// EMAILTEMPLATE_API_BASE = https://... (optional externe Template-API, wie im retool-Sender)
|
||||||
|
// EMAILTEMPLATE_API_TOKEN = <token>
|
||||||
|
// MAIL_TRANSPORT = mail | smtp
|
||||||
|
// MAIL_FROM = no-reply@papa-kind-treff.info
|
||||||
|
// MAIL_FROM_NAME = Papa-Kind-Treff
|
||||||
|
// SMTP_HOST = smtp.example.com
|
||||||
|
// SMTP_PORT = 587
|
||||||
|
// SMTP_USER = <user>
|
||||||
|
// SMTP_PASS = <pass>
|
||||||
|
// SMTP_SECURE = tls | ssl | none
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ final class Mailer
|
|||||||
{
|
{
|
||||||
$env = $this->app->config()->env;
|
$env = $this->app->config()->env;
|
||||||
$root = __DIR__ . '/../../config/emailtemplates.php';
|
$root = __DIR__ . '/../../config/emailtemplates.php';
|
||||||
$envPath = __DIR__ . "/../../config/{$env}/emailtemplates.php";
|
$envPath = __DIR__ . "/../../config/emailtemplates.php";
|
||||||
$file = is_file($root) ? $root : $envPath;
|
$file = is_file($root) ? $root : $envPath;
|
||||||
$emailtemplates = [];
|
$emailtemplates = [];
|
||||||
if (is_file($file)) {
|
if (is_file($file)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user