mirror of
https://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-08-27 05:15:52 +08:00
<libaes><aes>feat: 新增SMTP邮件发送功能(QQ邮箱兼容)
libaes模块: - 新增 APPMSGMailUtils 邮件发送工具类,基于JavaMail SMTP协议 - 新增 SMTPConfigView 邮件配置视图控件,支持服务器/端口/发件人/授权码/收件人配置 - 新增 view_smtp_config.xml 布局文件 - 添加 android-mail:1.6.7 / android-activation:1.6.7 依赖(替代javax.mail解决Android AWT兼容问题) - 添加 INTERNET / ACCESS_NETWORK_STATE 权限 aes模块: - 新增 SMTPSettingsActivity 邮件设置页面 - 新增 activity_smtp_settings.xml 布局文件 - MainActivity toolbar菜单添加"SMTP设置"入口 - AndroidManifest.xml 注册 SMTPSettingsActivity - build.gradle 添加 packagingOptions 解决META-INF重复文件冲突
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/bg_container_border">
|
||||
|
||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/toolbar"/>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<cc.winboll.studio.libaes.views.SMTPConfigView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -35,6 +35,9 @@
|
||||
<item
|
||||
android:id="@+id/item_settings"
|
||||
android:title="Settings"/>
|
||||
<item
|
||||
android:id="@+id/item_smtp_settings"
|
||||
android:title="SMTP设置"/>
|
||||
<item
|
||||
android:id="@+id/item_about"
|
||||
android:title="About"/>
|
||||
|
||||
Reference in New Issue
Block a user