-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,61 @@ | ||
# Transmis | ||
Auto sending a mail when you have received a SMS message or missed a phone call. | ||
|
||
备用机通知提醒转发程序,会在收到短信或者未接电话时自动发送提醒内容至指定邮箱。 | ||
|
||
### 快速上手 | ||
|
||
首先需要在【首页- 邮件参数设置】中填入邮箱的相关信息: | ||
|
||
1. SMTP服务器:邮箱的发件服务器地址,如 smtp.qq.com | ||
2. 端口号:SMTP服务器的端口号,注意本程序默认启用了SSL加密,一般SMTP服务器的端口号为 465 | ||
3. 发件人昵称:默认为 Transmis,若收件人和发件人地址相同,收到提醒时可能不会显示自定义的昵称,而显示 “我” | ||
4. 发件人邮箱:用于发送提醒邮件的邮箱,例如 [email protected] | ||
5. 发件人密码/授权码:用于发送提醒邮件的密码,QQ邮箱可在邮箱设置中生成一组三方邮件服务专用的授权码,其他邮箱可能需要输入登录密码 | ||
6. 收件人邮箱:用于接收提醒的邮箱,例如 [email protected] | ||
|
||
然后打开主界面的主开关即可 | ||
|
||
### 权限说明 | ||
|
||
由于显而易见的原因,本程序需要以下权限才能正常工作 | ||
|
||
1. 网络权限:用于发送提醒邮件 | ||
2. 短信权限:用于监测收到短信的事件,并读取短信内容 | ||
3. 电话权限:用于监听电话状态,以及监测未接电话 | ||
|
||
同时程序为了在被系统杀死后也能及时监测短信和电话,注册了系统级监听。 | ||
|
||
在某些系统上(如小米、华为等)可能需要手动在启动管理中将本程序设置为【允许被系统唤醒】 | ||
|
||
### 邮件提醒模板 | ||
|
||
短信提醒: | ||
|
||
1. 标题:默认为【你的备用机收到了一条新短信】,可进行设置,暂不支持通配符 | ||
2. 内容:默认为【电话:%s \n内容:%s \n\n】,通配符【%s】分别代表短信号码和短信内容 | ||
|
||
电话提醒: | ||
|
||
1. 标题:默认为【你的备用机有一个未接电话】,可进行设置,暂不支持通配符 | ||
2. 内容:默认为【电话:%s \n时间:%s \n响铃:%s 秒】,通配符【%s】分别代表电话号码、呼入时间和响铃时间 | ||
|
||
### 其他可选项 | ||
|
||
1. 合并长短信:收到同一发信人的连续多条短信时会自动将内容进行合并,不会多次提醒 | ||
|
||
# License | ||
|
||
Copyright (C) 2017 dss886 | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/ |