Add email sending package

This commit is contained in:
Christoph Hagen 2022-10-12 19:31:19 +02:00
parent 56b7fa1ba8
commit 3a76c924ca

View File

@ -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