From 7f126969d0cdffa4afa83752e23a952969f80576 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 17 Nov 2020 14:33:16 -0800 Subject: [PATCH] =?UTF-8?q?Fixed=20#8601=20-=20Switched=20to=20=E2=80=9Cat?= =?UTF-8?q?tachment=E2=80=9D=20from=20=E2=80=9Cbase64=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 1 + config/mail-auto-embed.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 6e41e009df..92fc6aa6ec 100644 --- a/.env.example +++ b/.env.example @@ -51,6 +51,7 @@ MAIL_FROM_ADDR=you@example.com MAIL_FROM_NAME='Snipe-IT' MAIL_REPLYTO_ADDR=you@example.com MAIL_REPLYTO_NAME='Snipe-IT' +MAIL_AUTO_EMBED_METHOD='attachment' # -------------------------------------------- # REQUIRED: IMAGE LIBRARY diff --git a/config/mail-auto-embed.php b/config/mail-auto-embed.php index bc1d038e0a..eabff92bbe 100644 --- a/config/mail-auto-embed.php +++ b/config/mail-auto-embed.php @@ -23,6 +23,6 @@ return [ | */ - 'method' => env('MAIL_AUTO_EMBED_METHOD', 'base64'), + 'method' => env('MAIL_AUTO_EMBED_METHOD', 'attachment'), ];