We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d100645 commit 6989179Copy full SHA for 6989179
1 file changed
Sources/SMTP.swift
@@ -345,11 +345,8 @@ public class EMail {
345
}//end if
346
347
// add the uuid of the email to avoid duplicated shipment
348
- var uuidBuf = UUID().string.encode(.base64) ?? []
349
- uuidBuf.append(0)
350
- let uuid = String(cString: uuidBuf)
351
-
352
- body += "Message-ID: <\(uuid)\(from.address.emailSuffix)>\r\n"
+ let uuid = UUID().string
+ body += "Message-ID: <\(uuid).Perfect-SMTP\(from.address.emailSuffix)>\r\n"
353
354
// add the email title
355
if subject.isEmpty {
0 commit comments