1 Star 0 Fork 0

久樊/计网作业:支持WebMail的SMTP邮件服务器

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
my_rust_binary.log 4.17 KB
一键复制 编辑 原始数据 按行查看 历史
Lamithe 提交于 2023-05-16 20:34 . Beta1.00
10:47:50 [INFO] Server Started
10:47:50 [INFO] IP:127.0.0.1 PORT:8899
10:47:55 [INFO] Connection Established! Client IP address:127.0.0.1
10:47:55 [DEBUG] (1) http_smtp::http::handlers: Http Request:
HttpRequest { method: POST, version: HttpV11, path: "/", headers: {"Accept-Encoding": " gzip, deflate, br", "Host": " 127.0.0.1", "User-Agent": " Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv", "Connection": " keep-alive", "Accept-Language": " zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2", "Content-Type": " application/json", "Accept": " application/json, text/plain, */*", "Origin": " http", "Content-Length": " 129", "Sec-Fetch-Site": " same-origin", "Sec-Fetch-Mode": " cors", "Referer": " http", "Sec-Fetch-Dest": " empty"}, body: "{\"username\":\"123@bbc.com\",\"password\":\"password\",\"subject\":\"标题\",\"receiver\":\"123@qq.com\",\"content\":\"<p>这是一个测试</p>\"}" }
10:47:55 [DEBUG] (1) http_smtp::http::handlers: POST DATA:{"username":"123@bbc.com","password":"password","subject":"标题","receiver":"123@qq.com","content":"<p>这是一个测试</p>"}
10:47:55 [INFO] Got Mail Request:
10:47:55 [INFO] username: 123@bbc.com,
10:47:55 [INFO] subject: 标题,
10:47:55 [INFO] receiver: 123@qq.com,
10:47:55 [INFO] content: <p>这是一个测试</p>,
10:47:55 [INFO] Mail Sending...
10:48:16 [DEBUG] (1) http_smtp::http::response: Response Header:
HTTP/1.1 200 OK
Content-type:application/json
10:48:16 [DEBUG] (1) http_smtp: Handle Connection Succeed.
10:48:32 [INFO] Connection Established! Client IP address:127.0.0.1
10:48:32 [DEBUG] (1) http_smtp::http::handlers: Http Request:
HttpRequest { method: GET, version: HttpV11, path: "/", headers: {"Host": " 127.0.0.1", "Accept-Encoding": " gzip, deflate, br", "Sec-Fetch-Mode": " navigate", "Sec-Fetch-User": " ?1", "User-Agent": " Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv", "Upgrade-Insecure-Requests": " 1", "Accept-Language": " zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2", "Connection": " keep-alive", "Accept": " text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8", "Sec-Fetch-Dest": " document", "Sec-Fetch-Site": " none"}, body: "" }
10:48:32 [DEBUG] (1) http_smtp::http::response: Response Header:
HTTP/1.1 200 OK
Content-type:text/html
10:48:32 [DEBUG] (1) http_smtp: Handle Connection Succeed.
10:48:32 [INFO] Connection Established! Client IP address:127.0.0.1
10:48:32 [DEBUG] (1) http_smtp::http::handlers: Http Request:
HttpRequest { method: GET, version: HttpV11, path: "/assets/index-33b4c2bf.css", headers: {"Sec-Fetch-Dest": " style", "Accept": " text/css,*/*;q=0.1", "Sec-Fetch-Site": " same-origin", "Referer": " http", "User-Agent": " Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv", "Accept-Encoding": " gzip, deflate, br", "Host": " 127.0.0.1", "Connection": " keep-alive", "Accept-Language": " zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2", "Sec-Fetch-Mode": " no-cors"}, body: "" }
10:48:32 [DEBUG] (1) http_smtp::http::response: Response Header:
HTTP/1.1 200 OK
Content-type:text/css
10:48:32 [DEBUG] (1) http_smtp: Handle Connection Succeed.
10:48:33 [INFO] Connection Established! Client IP address:127.0.0.1
10:48:33 [DEBUG] (1) http_smtp::http::handlers: Http Request:
HttpRequest { method: GET, version: HttpV11, path: "/assets/index-b680ad0c.js", headers: {"User-Agent": " Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv", "Sec-Fetch-Mode": " cors", "Accept": " */*", "Referer": " http", "Sec-Fetch-Site": " same-origin", "Sec-Fetch-Dest": " script", "Accept-Encoding": " gzip, deflate, br", "Host": " 127.0.0.1", "Connection": " keep-alive", "Accept-Language": " zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"}, body: "" }
10:48:33 [DEBUG] (1) http_smtp::http::response: Response Header:
HTTP/1.1 200 OK
Content-type:text/javascript
10:48:33 [DEBUG] (1) http_smtp: Handle Connection Succeed.
10:48:33 [INFO] Connection Established! Client IP address:127.0.0.1
10:48:33 [DEBUG] (1) http_smtp::http::handlers: Http Request:
HttpRequest { method: GET, version: HttpV11, path: "/", headers: {}, body: "" }
10:48:33 [DEBUG] (1) http_smtp::http::response: Response Header:
HTTP/1.1 200 OK
Content-type:text/html
10:48:33 [DEBUG] (1) http_smtp: Handle Connection Succeed.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lamithe/http-smtp.git
git@gitee.com:lamithe/http-smtp.git
lamithe
http-smtp
计网作业:支持WebMail的SMTP邮件服务器
master

搜索帮助