We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending an attachment messes up the filename the user finally gets to see.
if (message.guideAttachment) { const guideAttachment = await getFileFromBlobStorage( message.guideAttachment.fileName ); const emailGuideAttachment = { content: guideAttachment, filename: "Welcome_to_DL78.pdf", type: message.guideAttachment.type as FileTypes, disposition: 'attachment', }; if (!email.attachments) email.attachments = [emailGuideAttachment]; else email.attachments.push(emailGuideAttachment); } console.log(email); await sgMail.send(email); }
The attachment filename is appended with random looking number [98] other times I get [58]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Summary
Sending an attachment messes up the filename the user finally gets to see.
Steps to Reproduce
Code Snippet
Exception/Log
The attachment filename is appended with random looking number [98] other times I get [58]
Technical details:
The text was updated successfully, but these errors were encountered: