diff --git a/config/mail/encoding.ts b/config/mail/encoding.ts index e208d32..299cc52 100644 --- a/config/mail/encoding.ts +++ b/config/mail/encoding.ts @@ -75,7 +75,7 @@ function hasNonAsciiCharacters(str: string) { } export function quotedPrintableEncodeInline(data: string) { - if (hasNonAsciiCharacters(data)) { + if (hasNonAsciiCharacters(data) || data.startsWith('=?')) { return `=?utf-8?Q?${quotedPrintableEncode(data)}?=`; }