fix: use cid references for inline images #163

This commit is contained in:
Linus Rath
2026-04-18 00:57:46 +02:00
parent f05f70a9e5
commit d4f7ae522e
8 changed files with 115 additions and 34 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ export interface IJMAPClient {
identityId?: string,
fromEmail?: string,
draftId?: string,
attachments?: Array<{ blobId: string; name: string; type: string; size: number }>,
attachments?: Array<{ blobId: string; name: string; type: string; size: number; disposition?: 'attachment' | 'inline'; cid?: string }>,
fromName?: string,
): Promise<string>;
@@ -118,7 +118,7 @@ export interface IJMAPClient {
draftId?: string,
fromName?: string,
htmlBody?: string,
attachments?: Array<{ blobId: string; name: string; type: string; size: number }>,
attachments?: Array<{ blobId: string; name: string; type: string; size: number; disposition?: 'attachment' | 'inline'; cid?: string }>,
): Promise<void>;
sendImipReply(opts: {