Skip to content

Commit f9b1d70

Browse files
authored
Fix a little RFC5321 syntax unconformance (#117)
1 parent 697e73a commit f9b1d70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftSMTP/Command.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ enum Command {
4444
}
4545
case .authUser(let user): return user
4646
case .authPassword(let password): return password
47-
case .mail(let from): return "MAIL FROM: <\(from)>"
48-
case .rcpt(let to): return "RCPT TO: <\(to)>"
47+
case .mail(let from): return "MAIL FROM:<\(from)>"
48+
case .rcpt(let to): return "RCPT TO:<\(to)>"
4949
case .data: return "DATA"
5050
case .dataEnd: return "\(CRLF)."
5151
case .quit: return "QUIT"

0 commit comments

Comments
 (0)