I dont know if this error 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With