swiftmailer\Message addSignature()

addSignature() public method (available since version 2.0.6)

Adds message signature.

public $this addSignature ( $signature )
$signature array|callable|\Swift_Signer

Signature specification, this can be:

  • \Swift_Signer instance
  • callable, which returns \Swift_Signer instance
  • configuration array for the signer creation
return $this

Self reference

throws yii\base\InvalidConfigException

on invalid signature configuration

doc_Yii
2016-10-30 17:12:54
Comments
Leave a Comment

Please login to continue.