From 6672f360639ff7aa32133c091e897299e02309f4 Mon Sep 17 00:00:00 2001 From: Nibbels Date: Tue, 22 Sep 2015 01:57:45 +0200 Subject: [PATCH] Update signed-mail.phps --- examples/signed-mail.phps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/signed-mail.phps b/examples/signed-mail.phps index a40799d6..c444b69e 100644 --- a/examples/signed-mail.phps +++ b/examples/signed-mail.phps @@ -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) @@ -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