Skip to content

Commit b728bb8

Browse files
committed
minor #12872 SMimeEncrypter add Tip (zairigimad)
This PR was submitted for the 5.0 branch but it was squashed and merged into the 4.4 branch instead (closes #12872). Discussion ---------- SMimeEncrypter add Tip Add Tip about SmimeEncrypter to configure cipher. Commits ------- 4874152 SMimeEncrypter add Tip
2 parents ae2e8af + 4874152 commit b728bb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mailer.rst

+5
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,11 @@ and it will select the appropriate certificate depending on the ``To`` option::
656656
$firstEncryptedEmail = $encrypter->encrypt($firstEmail);
657657
$secondEncryptedEmail = $encrypter->encrypt($secondEmail);
658658

659+
.. tip::
660+
661+
The ``SMimeEncrypter`` class defines a second argument to choose
662+
an algorithm to encrypt the message. the cipher must be one of these PHP constants: https://www.php.net/manual/en/openssl.ciphers.php
663+
659664
Sending Messages Async
660665
----------------------
661666

0 commit comments

Comments
 (0)