Skip to content

Commit

Permalink
updated bulk email sending w/ better implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusGeffarth authored May 8, 2020
1 parent ec5df13 commit e3a19e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MailCore/Extensions/Request+Mail.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public struct MailProperty {
}

/// Send email
public func send(_ messages: [Mailer.Message]) throws -> EventLoopFuture<[Mailer.Result]> {
public func send(_ messages: [Mailer.Message]) throws -> EventLoopFuture<[(Mail, Mailer.Result)]> {
let mailer = try request.make(MailerService.self)
return try mailer.send(messages, on: request)
}
Expand Down

0 comments on commit e3a19e9

Please sign in to comment.