Increase e-mail reminder function#28
Open
Skyge wants to merge 1 commit intoxiaoshun007:masterfrom
Skyge:master
Open
Increase e-mail reminder function#28Skyge wants to merge 1 commit intoxiaoshun007:masterfrom Skyge:master
Skyge wants to merge 1 commit intoxiaoshun007:masterfrom
Skyge:master
Conversation
xiaoshun007
reviewed
Jan 18, 2018
|
|
||
| mail_host = "smtp.163.com" # SMTP服务器 | ||
| mail_user = "[email protected]" # 用户名 | ||
| mail_pass = "xxx" # 授权密码(非登录密码) |
Owner
There was a problem hiding this comment.
这个地方只支持授权密码吗?如果使用非163邮箱这个授权码就无效了,通用性是不是差了点?
| mail_user = "[email protected]" # 用户名 | ||
| mail_pass = "xxx" # 授权密码(非登录密码) | ||
|
|
||
| sender = "[email protected]" # 发件人邮箱 |
Author
There was a problem hiding this comment.
晚些时候又注册了一些新的邮箱测试了一下,现总结如下:
(1)使用163,126,QQ邮箱作为发件人邮箱是需要设置授权密码的,而收件人邮箱可以是163,126,QQ,sina,139邮箱中的任何一个;
(2)使用sina邮箱作为发件人邮箱是不需要设置授权密码的,只需要输入邮箱的登录密码即可。而收件人邮箱可以是163,126,QQ,sina,139邮箱中的任何一个,但是QQ邮箱会将sina邮箱发送的邮件当做垃圾邮件接收;
(3)使用139邮箱作为发件人邮箱也是不需要设置授权密码的,但是163,126,QQ,sina邮箱会将拒绝接收邮件,所以会发生退件的情况。
PS:测试完这些邮箱后,我在想完全可以利用python给手机发短信来提醒我们啊!
Owner
|
@Skyge 感谢pr |
|
发邮件和发短信我都搞了,发邮件用的是QQ服务器,发短信用的是阿里大鱼,按流量扣费。 |
|
@xtet2008 阿里的服务是不是还得再加个SDK?还有,AK也得放好,这对于一般用户比较麻烦 |
|
要改后面网址,12306改了地址了
发自我的 iPhone
… 在 2019年4月17日,11:43,flyinghpluo ***@***.***> 写道:
博主,请问一下我运行了你的12306抢票软件代码,运行成功了,但只是跳出了12306铁路官网,并没有完成自动购票,需要自己手动操作
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
博主,能教教我怎么改?
…------------------ 原始邮件 ------------------
发件人: "biaohanli"<[email protected]>;
发送时间: 2019年4月17日(星期三) 中午11:50
收件人: "xiaoshun007/12306Python"<[email protected]>;
抄送: "flying~~"<[email protected]>; "Comment"<[email protected]>;
主题: Re: [xiaoshun007/12306Python] Increase e-mail reminder function (#28)
要改后面网址,12306改了地址了
发自我的 iPhone
在 2019年4月17日,11:43,flyinghpluo <[email protected]> 写道:
博主,请问一下我运行了你的12306抢票软件代码,运行成功了,但只是跳出了12306铁路官网,并没有完成自动购票,需要自己手动操作
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

In this part, i add the function of sending e-mail just like your TODO said.