php - Change CakeEmail SMTP authentication type -
how change authentication type cakeemail uses when using smtp transport?
i error: smtp error: 504 5.7.4 unrecognized authentication type
when trying send system doesn't support password authentication. supports ntlm. haven't seen setting authentication type in cookbook or api cakephp 2.5.1. there way manually change it?
cakephps smtp transport supports basic username/password authentication, there no other authentication types implemented, , there's no specialized mechanism plugging in authentication adapters or like.
so you'll have create custom/extended smtp transport.
i'm not familiar ntlm, judging rfc should possible plug-in implementation of ntlm authentication flow in overridden smtptransport::_auth()
method.
Comments
Post a Comment