Skip to content

Commit

Permalink
fix: mailcomposer attachment encoding fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankParticle committed Aug 30, 2024
1 parent 4518398 commit c6ef01a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/mail-bridge/trpc/routers/sendMailRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,8 @@ export const sendMailRouter = router({
content: attachment.data,
filename: attachment.name,
contentType: attachment.content_type,
cid: attachment.inline ? attachment.content_id : undefined
cid: attachment.inline ? attachment.content_id : undefined,
encoding: attachment.base64 ? 'base64' : 'binary'
})),
inReplyTo: replyToEmailId ?? undefined,
references: replyToEmailId ? [replyToEmailId] : undefined,
Expand Down

0 comments on commit c6ef01a

Please sign in to comment.