novu
novu copied to clipboard
[NV-1265] 🐛 Bug Report: Email attachments are showing invalid
📜 Description
When sending emails with attachments, attachments are received as invalid in emails.
👟 Reproduction steps
- Create a Notification
- 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",
}
- 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.
💻 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?
- [X] I have read the Contributing Guidelines
Are you willing to submit PR?
No response
@scopsy @p-fernandez Any thoughts on this issue?
@chavda-bhavik sounds like a bug, is it happening only with image files? Are text files displayed as expected?
@scopsy issue is occurring in text and pdf documents as well.
I can try to have a look
Thanks @Wyfy0107 !