first of all, thanks for this wonderful class.
I am currently converting my code using SM3.3 to SM4.
How can i convert the following code :
Code: Select all
case 'CRAMMD5' :
$conn->attachAuthenticator(new Swift_Authenticator_CRAMMD5());
break;
case 'LOGIN' :
$conn->attachAuthenticator(new Swift_Authenticator_LOGIN());
break;
case 'PLAIN' :
$conn->attachAuthenticator(new Swift_Authenticator_PLAIN());
break;
case '@PopB4Smtp' :
$conn->attachAuthenticator(new Swift_Authenticator_PopB4Smtp($pophost));
break;Thanks for your replies.