CRAMMD5, LOGIN, PLAIN, PopB4Smtp and SwiftMailer 4
Posted: Tue Apr 07, 2009 8:15 am
Hello,
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 :
Samples welcomed.
Thanks for your replies.
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.