You are here

public function PHPMailer::Sign in SMTP Authentication Support 7.2

Same name and namespace in other branches
  1. 7 smtp.phpmailer.inc \PHPMailer::Sign()

Set the private key file and password to sign the message.

@access public

Parameters

string $key_filename Parameter File Name:

string $key_pass Password for private key:

File

./smtp.phpmailer.inc, line 2179
The mail handler class in smtp module, based on code of the phpmailer library, customized and relicensed to GPLv2.

Class

PHPMailer
PHPMailer - PHP email transport class NOTE: Requires PHP version 5 or later @package PHPMailer @author Andy Prevost @author Marcus Bointon @copyright 2004 - 2009 Andy Prevost

Code

public function Sign($cert_filename, $key_filename, $key_pass) {
  $this->sign_cert_file = $cert_filename;
  $this->sign_key_file = $key_filename;
  $this->sign_key_pass = $key_pass;
}