From edb850f94fb4de18ca53d0d1824910d6e8130166 Mon Sep 17 00:00:00 2001
From: Thomas <thomas.hirsch@vema-eg.de>
Date: Tue, 27 Feb 2024 20:26:56 +0100
Subject: [PATCH] Set min versions of swiftmailer to 5.4.13 and 6.2.5 and
 updated swiftmailer submodule (#331)

* Update min versions of swiftmailer to v5.4.13 or v6.2.5
* Update swiftmailer code on submodule to v5.4.13
---
 .gitmodules            | 2 +-
 composer.json          | 2 +-
 lib/vendor/swiftmailer | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index 3ee8d0c7d..be0be53cd 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,6 @@
 [submodule "lib/vendor/swiftmailer"]
 	path = lib/vendor/swiftmailer
-	url = https://github.com/swiftmailer/swiftmailer.git
+	url = https://github.com/FriendsOfSymfony1/swiftmailer.git
 	branch = 5.x
 [submodule "lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine"]
 	path = lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine
diff --git a/composer.json b/composer.json
index 096711cad..90a612f1c 100755
--- a/composer.json
+++ b/composer.json
@@ -5,7 +5,7 @@
     "license": "MIT",
     "require": {
         "php" : "^7.4 || ^8.1",
-        "swiftmailer/swiftmailer": "^5.2 || ^6.0"
+        "friendsofsymfony1/swiftmailer": "^5.4.13 || ^6.2.5"
     },
     "require-dev": {
         "psr/log": "*"
diff --git a/lib/vendor/swiftmailer b/lib/vendor/swiftmailer
index 181b89f18..a8ac681a4 160000
--- a/lib/vendor/swiftmailer
+++ b/lib/vendor/swiftmailer
@@ -1 +1 @@
-Subproject commit 181b89f18a90f8925ef805f950d47a7190e9b950
+Subproject commit a8ac681a42dd6c4dde66e67d5d7ae2b56b9e7abb