Skip to content

Commit

Permalink
Update signed-mail.phps
Browse files Browse the repository at this point in the history
  • Loading branch information
Nibbels committed Sep 21, 2015
1 parent 5353214 commit 6672f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/signed-mail.phps
Expand Up @@ -38,7 +38,7 @@
*
* openssl pkcs12 -in exported-cert.pfx -cacerts -out certchain.pem
*
* Again, the way you name your certificate is up to you. You will be also asked for the Import Password.
* Again, the way you name your chain file is up to you. You will be also asked for the Import Password.
*
*
* STEP 3 - Code (most of the code is copied from the mail.phps example)
Expand Down Expand Up @@ -70,7 +70,7 @@ $mail->addAttachment('images/phpmailer_mini.png');
$mail->sign('/path/to/cert.crt', //the location of your certificate file
'/path/to/cert.key', //the location of your private key file
'yourSecretPrivateKeyPassword', //the password you protected your private key with (may be empty but parameter can not mit omitted!)
'/path/to/certchain.pem'); //the location of your key chain file
'/path/to/certchain.pem'); //the location of your chain file
//!!!! yourSecretPrivateKeyPassword is not the Import Password !!!!

//send the message, check for errors
Expand Down

0 comments on commit 6672f36

Please sign in to comment.