From 397917f9932c98ba5be5a1c59c7f9cc1b1d08f14 Mon Sep 17 00:00:00 2001 From: Anorris-NLR <67065246+Anorris-NLR@users.noreply.github.com> Date: Tue, 29 Sep 2020 12:52:14 -0500 Subject: [PATCH] Update USE_CASES.md The file type and file name are in the wrong order for the $attachments array used in addAttachments. Used that way, files do not attach properly. --- USE_CASES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/USE_CASES.md b/USE_CASES.md index 40f2dcd69..022a0eefd 100644 --- a/USE_CASES.md +++ b/USE_CASES.md @@ -399,15 +399,15 @@ $email->addAttachment( $attachments = [ [ "base64 encoded content2", - "banner2.jpeg", "image/jpeg", + "banner2.jpeg", "attachment", "Banner 3" ], [ "base64 encoded content3", - "banner3.gif", "image/gif", + "banner3.gif", "inline", "Banner 3" ]