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'), ];