Skip to content

Commit 6989179

Browse files
committed
ISS-523
1 parent d100645 commit 6989179

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Sources/SMTP.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,8 @@ public class EMail {
345345
}//end if
346346

347347
// 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"
348+
let uuid = UUID().string
349+
body += "Message-ID: <\(uuid).Perfect-SMTP\(from.address.emailSuffix)>\r\n"
353350

354351
// add the email title
355352
if subject.isEmpty {

0 commit comments

Comments
 (0)