We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e8ac09a + e8f09e1 commit d005903Copy full SHA for d005903
Sources/Smtp/Models/Email.swift
@@ -108,8 +108,9 @@ extension Email {
108
out.writeString("\(self.body)\r\n")
109
out.writeString("--\(boundary)\r\n")
110
} else {
111
- out.writeString("--\(boundary)\r\n\r\n")
112
- out.writeString("\(self.body)\r\n")
+ out.writeString("--\(boundary)\r\n")
+ out.writeString("Content-Type: text/plain; charset=\"UTF-8\"\r\n\r\n")
113
+ out.writeString("\(self.body)\r\n\r\n")
114
115
}
116
0 commit comments