Skip to content

Commit 58eacca

Browse files
authored
SMimeEncrypter add Tip
1 parent d9eae70 commit 58eacca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mailer.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,10 @@ and it will select the appropriate certificate depending on the ``To`` option::
639639
$firstEncryptedEmail = $encrypter->encrypt($firstEmail);
640640
$secondEncryptedEmail = $encrypter->encrypt($secondEmail);
641641

642+
.. tip::
643+
The ``SMimeEncrypter`` class defines a second argument to choose
644+
an algorithm to encrypt the message. the cipher must be one of these PHP constants: https://www.php.net/manual/en/openssl.ciphers.php
645+
642646
Sending Messages Async
643647
----------------------
644648

0 commit comments

Comments
 (0)