mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Changed: use hash_hmac() instead of MailSo\Base\Utils::Hmac()
Renamed: PrepearFetchSequence() to PrepareFetchSequence() Removed: StripSlashesValue() because PHP7 has no magic_quotes_gpc
This commit is contained in:
parent
23e9964997
commit
9bb44e7f98
7 changed files with 19 additions and 128 deletions
|
|
@ -188,7 +188,7 @@ class SmtpClient extends \MailSo\Net\NetClient
|
|||
|
||||
try
|
||||
{
|
||||
$this->sendRequestWithCheck(\base64_encode($sLogin.' '.\MailSo\Base\Utils::Hmac($sTicket, $sPassword)), 235, '', true);
|
||||
$this->sendRequestWithCheck(\base64_encode($sLogin.' '.\hash_hmac('md5', $sTicket, $sPassword)), 235, '', true);
|
||||
}
|
||||
catch (\MailSo\Smtp\Exceptions\NegativeResponseException $oException)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue