python - Gmail 邮件服务器

标签 python gmail

我曾经使用 Google 的漂亮界面来获取我的邮件,它总是会在这里:

https://mail.google.com/a/yourdomainhere.com

我想编写发送邮件的 python 脚本,所以我无法配置服务器设置

smtp = smtplib.SMTP('mail server should be what?', what is the port)
smtp.login('username@yourdomainhere.com', 'pass')

请问有人能帮帮我吗??

谢谢

最佳答案

所有内容都在 gmail 的支持站点上,请参阅 http://mail.google.com/support/bin/answer.py?hl=en&answer=13287

关于python - Gmail 邮件服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2905987/

相关文章:

python smtp gmail认证错误(通过gmail smtp服务器发送邮件)

delphi - Indy IMAP4 无法正确显示德语符号

html - gmail 应用程序中 HTML 电子邮件中不需要的行

Python 3.x 多行注释抛出语法错误

Python Pyspark : Filter for 1 Day Before Current Date Using F. current_date()

python - 用于消除位信号噪声尖峰的正则表达式

c# - 使用 C# 发送消息可以在本地工作,但实时失败

python - 向 mysql 插入数组值会引发错误

python - 如何在python中读取rar文件中的txt文件中的每一行

php - 如何在数据库中相应地保存 gmail 电子邮件