Skip to content

Commit a34c1b7

Browse files
fix: deno fmt
1 parent e4cb847 commit a34c1b7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

client/basic/client.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -85,22 +85,22 @@ export class SMTPClient {
8585
this.#connection.writeCmd(
8686
`Content-Type: ${attachment.contentType}; name=${attachment.filename}`,
8787
);
88-
88+
8989
if (attachment.contentID) {
9090
this.#connection.writeCmd(
9191
`Content-ID: <${attachment.contentID}>`,
9292
);
9393
}
94-
94+
9595
this.#connection.writeCmd(
9696
`Content-Disposition: ${attachment.contentDisposition}; filename=${attachment.filename}`,
9797
);
98-
98+
9999
if (attachment.encoding === "base64") {
100100
this.#connection.writeCmd(
101101
"Content-Transfer-Encoding: base64\r\n",
102102
);
103-
103+
104104
for (
105105
let line = 0;
106106
line < Math.ceil(attachment.content.length / 75);
@@ -110,16 +110,16 @@ export class SMTPClient {
110110
line * 75,
111111
(line + 1) * 75,
112112
);
113-
113+
114114
this.#connection.writeCmd(lineOfBase64);
115115
}
116-
116+
117117
this.#connection.writeCmd("\r\n");
118118
} else if (attachment.encoding === "text") {
119119
this.#connection.writeCmd(
120120
"Content-Transfer-Encoding: quoted-printable\r\n",
121121
);
122-
122+
123123
this.#connection.writeCmd(attachment.content + "\r\n");
124124
}
125125
}

0 commit comments

Comments
 (0)