feat: add save to paperless and send email functionality to inbox detail page with tiptap editor integration
Build and Push Multi-Platform Images / build-and-push (push) Successful in 46s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 46s
This commit is contained in:
@@ -23,6 +23,7 @@ export class MailService {
|
||||
to: string;
|
||||
subject: string;
|
||||
body: string;
|
||||
html?: string;
|
||||
attachments?: { filename: string; content: Buffer }[];
|
||||
}): Promise<void> {
|
||||
const from = this.configService.get<string>('SMTP_FROM', 'paperless@localhost');
|
||||
@@ -32,6 +33,7 @@ export class MailService {
|
||||
to: options.to,
|
||||
subject: options.subject,
|
||||
text: options.body,
|
||||
html: options.html,
|
||||
attachments: options.attachments?.map(a => ({
|
||||
filename: a.filename,
|
||||
content: a.content,
|
||||
|
||||
Reference in New Issue
Block a user