尝试使用默认的CodeIgniter邮件发送电子邮件时,出现以下错误。我浏览了StackOverflow以找到解决方案,但是没有一个答案解决了我的问题。以下是堆栈跟踪。
Dim myakaze As AKAZE = AKAZE.Create
'Get the descriptor for the image
Dim descriptor1 As New Mat()
Dim keyPoints1 As KeyPoint()
myakaze.DetectAndCompute(img1, Nothing, keyPoints1, descriptor1)
Dim matcher As New BFMatcher
Dim bow As New BOWImgDescriptorExtractor(myakaze, matcher)
bow.SetVocabulary(TheClusters)
Dim resultfromCompute As Integer()()
Dim des2 As New Mat
descriptor1.ConvertTo(descriptor1, MatType.CV_32F)
bow.Compute(descriptor1, des2, resultfromCompute)
我尝试了以下解决方案:-
启用对安全性较低的应用程序的访问。
将主机从smtp.gmail.com更改为ssl://smtp.gmail.com
在php.ini文件中启用openssl
一些答案表明,可能会产生此问题,因为如果在帐户中启用了2要素身份验证,那么我们必须执行google帮助页面(适用于Gmail)中提到的某些步骤。在我的情况下,未启用2因素身份验证,因此我排除了这种可能性。