开发者

Error using MIME::lite

I dont know if this er开发者_StackOverflow中文版ror is specific to MIME::lite but I am getting it while I am trying to use smtp email with MIME.

No SASL mechanism found
 at C:/Perl/site/lib/Authen/SASL.pm line 77
 at C:/Perl/lib/Net/SMTP.pm line 143

What does this error mean?


I would guess the smtp server you're trying to contact is configured to use authentication of some sort and MIME::Lite is trying to use SASL (http://asg.web.cmu.edu/sasl/) under the hood. At least something is triggering SASL and you don't seem to have the right perl modules for it. The documentation for Authen::SASL mentions Authen::SASL::XS and Authen::SASL::Perl depending on your setup, the latter being pure perl and probably easier to run on windows. Below these two are the actual mechanism implementations e.g. Authen::SASL::Perl::CRAM_MD5 which also need to be in place.

It would be easier to debug if you included some initialization code for the libraries.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜