novu icon indicating copy to clipboard operation
novu copied to clipboard

[NV-1265] 🐛 Bug Report: Email attachments are showing invalid

Open chavda-bhavik opened this issue 1 year ago • 5 comments

📜 Description

When sending emails with attachments, attachments are received as invalid in emails.

👟 Reproduction steps

  1. Create a Notification
  2. Trigger the notification with some attachment, I send attachment as,
{
  file: fs.readFileSync(path.join(__dirname, "img/facebook.png")),
  name: "facebook.png",
  mime: "image/png",
}
  1. See the email received, the attachment will be unprocessable (invalid) to the system.

👍 Expected behavior

Attachments should be sent properly via email.

👎 Actual Behavior with Screenshots

How the attachment image looks in Ubuntu. Screenshot from 2022-11-28 11-46-55

💻 Operating system

Linux

🤖 Node Version

16.15.1

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

No response

NV-1265

chavda-bhavik avatar Nov 28 '22 06:11 chavda-bhavik

@scopsy @p-fernandez Any thoughts on this issue?

chavda-bhavik avatar Nov 29 '22 09:11 chavda-bhavik

@chavda-bhavik sounds like a bug, is it happening only with image files? Are text files displayed as expected?

scopsy avatar Nov 29 '22 09:11 scopsy

@scopsy issue is occurring in text and pdf documents as well.

chavda-bhavik avatar Nov 30 '22 03:11 chavda-bhavik

I can try to have a look

Wyfy0107 avatar Nov 30 '22 10:11 Wyfy0107

Thanks @Wyfy0107 !

oba2311 avatar Dec 04 '22 21:12 oba2311