diff --git a/Sources/SMTP.swift b/Sources/SMTP.swift index 2e4bff0..11b0bae 100644 --- a/Sources/SMTP.swift +++ b/Sources/SMTP.swift @@ -349,7 +349,7 @@ public class EMail { uuidBuf.append(0) let uuid = String(cString: uuidBuf) - body += "Message-ID: <\(uuid).\(from.address)>\r\n" + body += "Message-ID: <\(uuid)\(from.address.emailSuffix)>\r\n" // add the email title if subject.isEmpty {