Skip to content

Commit 651ec47

Browse files
committed
CCM-9704: rm plaintext
1 parent ff7dd6b commit 651ec47

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

utils/utils/src/email-client.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { LetterTemplate } from 'nhs-notify-web-template-management-utils';
77
import Handlebars from 'handlebars';
88
import { readFileSync } from 'node:fs';
99
import path from 'node:path';
10-
import { randomUUID } from 'node:crypto';
1110

1211
export class EmailClient {
1312
constructor(
@@ -101,11 +100,6 @@ export class EmailClient {
101100
data: emailContent,
102101
});
103102

104-
msg.addMessage({
105-
contentType: 'text/plain',
106-
data: 'plaintext fallback',
107-
});
108-
109103
const command = new SendRawEmailCommand({
110104
RawMessage: {
111105
Data: Buffer.from(msg.asRaw()),

0 commit comments

Comments
 (0)