We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ curl --version curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.0.2g zlib/1.2.8 $ curl --url "smtp.qq.com:587" --mail-from "xxx@qq.com" --mail-rcpt "xxxx@qq.com" --user 'xxx.hu@qq.com:xxxxxxxxx' -v --upload-file mail.txt result:
EHLO mail.txt < 250-newxmesmtplogicsvrszb5.qq.com < 250-PIPELINING < 250-SIZE 73400320 < 250-STARTTLS < 250-AUTH LOGIN PLAIN < 250-AUTH=LOGIN < 250-MAILCOMPRESS < 250 8BITMIME AUTH PLAIN < 535 Login Fail. Please enter your authorization code to login. More information in http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl 7.68.0 still get 235 Authentication successful
7.47.0 successful 7.68.0 fail [curl -V output]
The text was updated successfully, but these errors were encountered:
See #4080
Sorry, something went wrong.
Thanks, if I use the curl_easy_setopt function, which define variable should I set
i just find curl_easy_setopt(curl, CURLOPT_LOGIN_OPTIONS, "AUTH=LOGIN");, thanks
No branches or pull requests
I did this
$ curl --version
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.0.2g zlib/1.2.8
$ curl --url "smtp.qq.com:587" --mail-from "xxx@qq.com" --mail-rcpt "xxxx@qq.com" --user 'xxx.hu@qq.com:xxxxxxxxx' -v --upload-file mail.txt
result:
< 220 newxmesmtplogicsvrszb5.qq.com XMail Esmtp QQ Mail Server.
curl: (67) Login denied
$ curl --version
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
$ curl --url "smtp.qq.com:587" --mail-from "xxx@qq.com" --mail-rcpt "xxxx@qq.com" --user 'xxx.hu@qq.com:xxxxxxxxx' -v --upload-file mail.txt
I got 235 Authentication successful
I expected the following
curl 7.68.0 still get 235 Authentication successful
curl/libcurl version
7.47.0 successful
7.68.0 fail
[curl -V output]
The text was updated successfully, but these errors were encountered: