Skip to content

Commit

Permalink
add web
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsfdtz committed Oct 17, 2024
1 parent 13337c4 commit 660e024
Show file tree
Hide file tree
Showing 15 changed files with 115 additions and 645 deletions.
6 changes: 0 additions & 6 deletions .gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions LICENCE

This file was deleted.

Binary file modified README.md
Binary file not shown.
5 changes: 0 additions & 5 deletions config.json

This file was deleted.

Binary file added images/password.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/smtp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/youxiang.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>南京工业大学校大学生科学技术协会招新邮件发送</title>
<link rel="stylesheet" href="./src/style.css">
</head>

<body>
<header>
<h1>南京工业大学校大学生科学技术协会招新邮件发送</h1>
</header>

<main>
<section>
<h2>获取邮箱的授权码和账户</h2>
<p>这里推荐使用 <strong>163邮箱</strong>,注册后即可获得授权码。登录网页版后点击设置 - 账户 - POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV服务 -
开启服务 - POP3/SMTP服务 - 授权码,即可获得授权码。</p>
<img src="./images/youxiang.png" alt="邮箱图标" class="youxiang">
<p><a href="https://mail.163.com/" target="_blank" class="link">访问链接</a></p>
</section>

<section>
<h2>获取授权码</h2>
<img src="./images/smtp.png" alt="SMTP服务设置" class="smtp">
<p>在根目录下新建一个 <code>key.txt</code> 文件,把账号和授权码粘贴进去,保存。</p>
<img src="./images/password.png" alt="密码设置" class="password">
</section>

<section>
<h2>下载</h2>
<ol>
<li><a href="https://github.com/ptsfdtz/mail-sender/releases/download/2.0/main.zip" class="link">下载最新版本的
release</a>
</li>
<li>解压压缩包</li>
<li>运行 <code>main.exe</code></li>
</ol>
</section>
</main>

<footer>
<p>© 2024 南京工业大学校大学生科学技术协会</p>
</footer>
</body>

</html>
67 changes: 0 additions & 67 deletions main.py

This file was deleted.

2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

66 changes: 66 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
color: #333;
}

header {
background: #333;
color: #fff;
padding: 10px 0;
text-align: center;
}

.link {
background-color: aqua;
}

h1 {
margin: 0;
font-size: 24px;
}

h2 {
color: #333;
}

.password .youxiang .smtp {
width: 400px;
}

section {
background: #fff;
border: 1px solid #ddd;
border-radius: 5px;
margin: 20px 0;
padding: 15px;
}

p {
margin: 10px 0;
}

a {
color: #333;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

img {
max-width: 100%;
height: auto;
margin: 10px 0;
}

footer {
text-align: center;
margin-top: 20px;
font-size: 14px;
color: #777;
}
35 changes: 0 additions & 35 deletions utils/file_utils.py

This file was deleted.

17 changes: 0 additions & 17 deletions utils/smtp_utils.py

This file was deleted.

Loading

0 comments on commit 660e024

Please sign in to comment.