Skip to content

本项目实现了在 Air724UG 模块上,以邮件的形式转发 SIM 卡的通知消息(来电消息 & 短信消息)。

License

Notifications You must be signed in to change notification settings

Dancying/Air724UG-Message-Forwarding-Via-Email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Air724UG-Message-Forwarding-Via-Email

本项目实现了在 Air724UG 模块上,以邮件的形式转发 SIM 卡的通知消息(来电消息 & 短信消息)。

项目基于 Air724UG 4G LTE 模块LuatOS-Air 框架,并以 Lua 语言进行二次开发。

功能特性

邮件转发 SIM 卡来电通知 : 来电号码、通话时长
邮件转发 SIM 卡短信通知 : 短信发送人、短信内容、短信接收时间
以 Socket 通信 SMTP 服务器 : 无需额外中转服务器即可发送邮件


📧 邮件消息内容展示(微信辅助功能 : QQ 邮箱提醒)
来电通知 Email 内容展示短信通知 Email 内容展示

下载使用

参照项目中的 Air724UG Development Tutorial 文档进行硬件准备软件准备工作。

获取源码

  • 使用 Git 方式获取源码
    git clone https://github.com/Dancying/Air724UG-Message-Forwarding-Via-Email.git

配置项目

  • 编辑项目中的 src/main.lua 文件,修改 Email Settings 部分的代码
    -- Email Settings
    local email_subject         = ""                            -- 邮件标题,此处留空
    local email_from            = "[email protected]"        -- 发件人邮箱地址
    local email_to              = "[email protected]"      -- 收件人邮箱地址
    local email_content         = ""                            -- 邮件正文,此处留空
    local smtp_host             = "smtp.163.com"                -- SMTP 服务器地址
    local smtp_port             = "465"                         -- SMTP 服务器端口
    local smtp_user             = "[email protected]"        -- SMTP 登录的邮箱账户
    local smtp_passwd           = "AAAABBBBCCCCDDDD"            -- SMTP 登录的账户密码

烧录代码

开源协议

本项目使用 MIT 许可证。

MIT License

Copyright (c) 2024 Dancying

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

本项目实现了在 Air724UG 模块上,以邮件的形式转发 SIM 卡的通知消息(来电消息 & 短信消息)。

Resources

License

Stars

Watchers

Forks

Languages