From 3a76c924ca59d9d628a3a0bd85ba7db083c8b466 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Wed, 12 Oct 2022 19:31:19 +0200 Subject: [PATCH] Add email sending package --- Package.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index b88903c..52f430e 100644 --- a/Package.swift +++ b/Package.swift @@ -9,7 +9,12 @@ let package = Package( dependencies: [ .package(name: "vapor", url: "https://github.com/vapor/vapor.git", from: "4.0.0"), .package(name: "fluent", url: "https://github.com/vapor/fluent.git", from: "4.0.0"), - .package(name: "fluent-sqlite-driver", url: "https://github.com/vapor/fluent-sqlite.git", from: "4.0.0") + .package(name: "fluent-sqlite-driver", url: "https://github.com/vapor/fluent-sqlite.git", from: "4.0.0"), + // Alternatives: + // https://github.com/onevcat/Hedwig + // https://github.com/Joannis/SMTPKitten + // https://github.com/Joannis/VaporSMTPKit <- Uses SMTPKitten + .package(name: "Swift-SMTP", url: "https://github.com/Kitura/Swift-SMTP", from: "5.1.0"), ], targets: [ .target( @@ -18,6 +23,7 @@ let package = Package( .product(name: "Fluent", package: "fluent"), .product(name: "FluentSQLiteDriver", package: "fluent-sqlite-driver"), .product(name: "Vapor", package: "vapor"), + .product(name: "SwiftSMTP", package: "Swift-SMTP"), ], swiftSettings: [ // Enable better optimizations when building in Release configuration. Despite the use of