Skip to content

Commit 3126028

Browse files
committed
#10 Fix protection level of send method
1 parent fa6e92c commit 3126028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Smtp/Request+Send.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public extension Request {
1111
struct Smtp {
1212
let request: Request
1313

14-
func send(_ email: Email, logHandler: ((String) -> Void)? = nil) -> EventLoopFuture<Result<Bool, Error>> {
14+
public func send(_ email: Email, logHandler: ((String) -> Void)? = nil) -> EventLoopFuture<Result<Bool, Error>> {
1515
return self.request.application.smtp.send(email, logHandler: logHandler)
1616
}
1717
}

0 commit comments

Comments
 (0)