We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff7dd6b commit 651ec47Copy full SHA for 651ec47
utils/utils/src/email-client.ts
@@ -7,7 +7,6 @@ import { LetterTemplate } from 'nhs-notify-web-template-management-utils';
7
import Handlebars from 'handlebars';
8
import { readFileSync } from 'node:fs';
9
import path from 'node:path';
10
-import { randomUUID } from 'node:crypto';
11
12
export class EmailClient {
13
constructor(
@@ -101,11 +100,6 @@ export class EmailClient {
101
100
data: emailContent,
102
});
103
104
- msg.addMessage({
105
- contentType: 'text/plain',
106
- data: 'plaintext fallback',
107
- });
108
-
109
const command = new SendRawEmailCommand({
110
RawMessage: {
111
Data: Buffer.from(msg.asRaw()),
0 commit comments