Gmail使用什么机制进行用户身份验证? [英] What mechanism does Gmail use for user authentication?

查看:208
本文介绍了Gmail使用什么机制进行用户身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Gmail SMTP服务器上使用我的Gmail ID和密码进行身份验证。我正在使用GSASL库。我有一套我的客户端支持的机制:匿名,外部,登录,Plain,SecureID,Digest-MD5和CRAM-MD5。有人知道Gmail用于用户身份验证的机制吗?


传出邮件(SMTP)服务器 - 需要TLS:smtp.gmail.com(使用身份验证)

使用身份验证:是

使用STARTTLS:是(某些客户端称为此SSL)

端口:465或587

这种情况下的验证是普通。


I want to authenticate myself using my Gmail ID and password on a Gmail SMTP server. I am using the GSASL library. I have a set of mechanisms that my client supports: Anonymous, External, Login, Plain, SecureID, Digest-MD5 and CRAM-MD5. Does somebody know which mechanism Gmail uses for user authentication?

解决方案

To quote Google's documentation for authenticating to GMail's SMTP:

Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587

the authentication in this case is "Plain".

这篇关于Gmail使用什么机制进行用户身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆