asss
This commit is contained in:
@@ -14,13 +14,15 @@ $emailtemplates = [
|
|||||||
* nutzen. Beispiel (Platzhalter bitte anpassen/entfernen):
|
* nutzen. Beispiel (Platzhalter bitte anpassen/entfernen):
|
||||||
*/
|
*/
|
||||||
|
|
||||||
putenv('EMAILTEMPLATE_API_BASE=' . (getenv('EMAILTEMPLATE_API_BASE') ?: 'https://staging.emailtemplate.it/external/render'));
|
// putenv erwartet den String "KEY=VALUE". Die if-Blöcke setzen nur dann Defaults,
|
||||||
putenv('EMAILTEMPLATE_API_TOKEN=' . (getenv('EMAILTEMPLATE_API_TOKEN') ?: ''));
|
// wenn in der Umgebung noch nichts gesetzt ist.
|
||||||
putenv('MAIL_TRANSPORT=' . (getenv('MAIL_TRANSPORT') ?: 'smtp'));
|
if (getenv('EMAILTEMPLATE_API_BASE') === false) putenv('EMAILTEMPLATE_API_BASE=https://staging.emailtemplate.it/external/render');
|
||||||
putenv('MAIL_FROM=' . (getenv('MAIL_FROM') ?: 'no-reply@papa-kind-treff.info'));
|
if (getenv('EMAILTEMPLATE_API_TOKEN') === false) putenv('EMAILTEMPLATE_API_TOKEN=qYLV9OLOJ48WPs0CLrnOWpkok1o1wRN_kGsdMVzumzPEYQP-rHxhnn0YlSWGW5hH');
|
||||||
putenv('MAIL_FROM_NAME=' . (getenv('MAIL_FROM_NAME') ?: 'Papa-Kind-Treff'));
|
if (getenv('MAIL_TRANSPORT') === false) putenv('MAIL_TRANSPORT=smtp');
|
||||||
putenv('SMTP_HOST=' . (getenv('SMTP_HOST') ?: ''));
|
if (getenv('MAIL_FROM') === false) putenv('MAIL_FROM=no-reply@papa-kind-treff.info');
|
||||||
putenv('SMTP_PORT=' . (getenv('SMTP_PORT') ?: '587'));
|
if (getenv('MAIL_FROM_NAME') === false) putenv('MAIL_FROM_NAME=Papa-Kind-Treff');
|
||||||
putenv('SMTP_USER=' . (getenv('SMTP_USER') ?: ''));
|
if (getenv('SMTP_HOST') === false) putenv('SMTP_HOST=');
|
||||||
putenv('SMTP_PASS=' . (getenv('SMTP_PASS') ?: ''));
|
if (getenv('SMTP_PORT') === false) putenv('SMTP_PORT=587');
|
||||||
putenv('SMTP_SECURE=' . (getenv('SMTP_SECURE') ?: 'tls'));
|
if (getenv('SMTP_USER') === false) putenv('SMTP_USER=');
|
||||||
|
if (getenv('SMTP_PASS') === false) putenv('SMTP_PASS=');
|
||||||
|
if (getenv('SMTP_SECURE') === false) putenv('SMTP_SECURE=tls');
|
||||||
|
|||||||
@@ -14,13 +14,15 @@ $emailtemplates = [
|
|||||||
* nutzen. Beispiel (Platzhalter bitte anpassen/entfernen):
|
* nutzen. Beispiel (Platzhalter bitte anpassen/entfernen):
|
||||||
*/
|
*/
|
||||||
|
|
||||||
putenv('EMAILTEMPLATE_API_BASE=' . (getenv('EMAILTEMPLATE_API_BASE') ?: 'https://staging.emailtemplate.it/external/render'));
|
// putenv erwartet den String "KEY=VALUE". Die if-Blöcke setzen nur dann Defaults,
|
||||||
putenv('EMAILTEMPLATE_API_TOKEN=' . (getenv('EMAILTEMPLATE_API_TOKEN') ?: ''));
|
// wenn in der Umgebung noch nichts gesetzt ist.
|
||||||
putenv('MAIL_TRANSPORT=' . (getenv('MAIL_TRANSPORT') ?: 'smtp'));
|
if (getenv('EMAILTEMPLATE_API_BASE') === false) putenv('EMAILTEMPLATE_API_BASE=https://staging.emailtemplate.it/external/render');
|
||||||
putenv('MAIL_FROM=' . (getenv('MAIL_FROM') ?: 'no-reply@papa-kind-treff.info'));
|
if (getenv('EMAILTEMPLATE_API_TOKEN') === false) putenv('EMAILTEMPLATE_API_TOKEN=qYLV9OLOJ48WPs0CLrnOWpkok1o1wRN_kGsdMVzumzPEYQP-rHxhnn0YlSWGW5hH');
|
||||||
putenv('MAIL_FROM_NAME=' . (getenv('MAIL_FROM_NAME') ?: 'Papa-Kind-Treff'));
|
if (getenv('MAIL_TRANSPORT') === false) putenv('MAIL_TRANSPORT=smtp');
|
||||||
putenv('SMTP_HOST=' . (getenv('SMTP_HOST') ?: ''));
|
if (getenv('MAIL_FROM') === false) putenv('MAIL_FROM=no-reply@papa-kind-treff.info');
|
||||||
putenv('SMTP_PORT=' . (getenv('SMTP_PORT') ?: '587'));
|
if (getenv('MAIL_FROM_NAME') === false) putenv('MAIL_FROM_NAME=Papa-Kind-Treff');
|
||||||
putenv('SMTP_USER=' . (getenv('SMTP_USER') ?: ''));
|
if (getenv('SMTP_HOST') === false) putenv('SMTP_HOST=');
|
||||||
putenv('SMTP_PASS=' . (getenv('SMTP_PASS') ?: ''));
|
if (getenv('SMTP_PORT') === false) putenv('SMTP_PORT=587');
|
||||||
putenv('SMTP_SECURE=' . (getenv('SMTP_SECURE') ?: 'tls'));
|
if (getenv('SMTP_USER') === false) putenv('SMTP_USER=');
|
||||||
|
if (getenv('SMTP_PASS') === false) putenv('SMTP_PASS=');
|
||||||
|
if (getenv('SMTP_SECURE') === false) putenv('SMTP_SECURE=tls');
|
||||||
|
|||||||
Reference in New Issue
Block a user