From 646e2fa691489c8ff4831926d7030b02103573c7 Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns Date: Fri, 6 Jan 2017 11:20:31 +0100 Subject: [PATCH 1/3] TASK: Update SiwftMailer to 5.4.5 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a65313e..61c4417 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "license": ["LGPL-3.0", "MIT"], "require": { "typo3/flow": "~2.0||~3.0", - "swiftmailer/swiftmailer": "5.4.1" + "swiftmailer/swiftmailer": "5.4.5" }, "autoload": { "psr-0": { From 8d0f85bb86b99a2ddbf62df56b58c6292ab29ac3 Mon Sep 17 00:00:00 2001 From: lorenzulrich Date: Fri, 1 Sep 2017 10:08:36 +0200 Subject: [PATCH 2/3] TASK: Complete TLS/SSL SMTP example The TLS/SSL SMTP example is incomplete as it misses the encryption property. Since port 465 is normally used for SSL, the example uses ssl value, but tls is added as a possibility on top of the example. --- Configuration/Settings.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Configuration/Settings.yaml b/Configuration/Settings.yaml index a1e2add..7e88d29 100644 --- a/Configuration/Settings.yaml +++ b/Configuration/Settings.yaml @@ -6,6 +6,7 @@ TYPO3: options: [] # Example settings for sending emails via SMTP / SSL: +# Encryption can be set to either tls or ssl # # SwiftMailer: # transport: @@ -13,6 +14,7 @@ TYPO3: # options: # host: 'smtp.example.com' # port: 465 +# encryption: 'ssl' # username: 'myaccount@example.com' # password: '5js9j1lkjs8' # localDomain: 'example.com' From b4ab5e807d9cac07a8b8a528ba8bfd793c638b30 Mon Sep 17 00:00:00 2001 From: lorenzulrich Date: Fri, 1 Sep 2017 10:10:46 +0200 Subject: [PATCH 3/3] TASK: Add encryption property for SMTP transport to documentation --- Documentation/index.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/index.rst b/Documentation/index.rst index 39b6819..535972b 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -28,10 +28,13 @@ function. To use SMTP for sending, follow the following example: options: host: 'smtp.example.com' port: '465' + encryption: 'ssl' username: 'myaccount@example.com' password: 'shoobidoo' localDomain: 'example.com' +The encryption property supports values ``ssl`` and ``tls``. + Further transports are available with Swift Mailer and can be used as well. Their options can be looked up the Swift Mailer documentation and they can be set by extrapolating from their setter method names (as in: ``setUsername()`` becomes ``username`` in the options.)