Skip to content

Async/await support

Compare
Choose a tag to compare
@mczachurski mczachurski released this 14 Nov 08:01
· 15 commits to master since this release
let email = try! Email(from: EmailAddress(address: "[email protected]", name: "John Doe"),
                  to: [EmailAddress(address: "[email protected]", name: "Ben Doe")],
                  subject: "The subject (text)",
                  body: "This is email body.")

try await request.smtp.send(email)