Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 05b9d80

Browse filesBrowse files
committed
Merge branch '5.0'
* 5.0: SMimeEncrypter add Tip
2 parents fd5cbe1 + cab0e57 commit 05b9d80
Copy full SHA for 05b9d80

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎mailer.rst

Copy file name to clipboardExpand all lines: mailer.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ and it will select the appropriate certificate depending on the ``To`` option::
630630
// ...
631631
->to('john@example.com');
632632

633+
// the second optional argument of SMimeEncrypter defines which encryption algorithm is used
634+
// (it must be one of these constants: https://www.php.net/manual/en/openssl.ciphers.php)
633635
$encrypter = new SMimeEncrypter([
634636
// key = email recipient; value = path to the certificate file
635637
'jane@example.com' => '/path/to/first-certificate.crt',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.