fix name addSMimeEncrypted

This commit is contained in:
the-djmaze 2024-02-19 18:54:00 +01:00
parent 10ec90435d
commit a22ae5fcf4
2 changed files with 2 additions and 2 deletions

View file

@ -225,7 +225,7 @@ class Part
$this->addEncrypted($sEncrypted, 'application/pgp-encrypted');
}
public function addSMimepEncrypted(string $sEncrypted)
public function addSMimeEncrypted(string $sEncrypted)
{
$this->addEncrypted($sEncrypted, 'application/pkcs7-mime');
}

View file

@ -1194,7 +1194,7 @@ trait Messages
}
*/
$sEncrypted = $SMIME->encrypt($tmp, $aCertificates);
$oMessage->addSMimepEncrypted($sEncrypted);
$oMessage->addSMimeEncrypted($sEncrypted);
}
}