Skip to content

Commit f654e7e

Browse files
committed
update smtp learn
1 parent 8568d37 commit f654e7e

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

python_stdlib_learning/9_network_communication/smtplib_learn/s1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
from email.mime.text import MIMEText
66

77
# 配置信息
8-
sender_email = "3135989009@qq.com"
8+
sender_email = "your_send_email"
99
sender_password = "qegpizcjxcckdebe"
10-
recv_email = "xianzhisen_yang@outlook.com"
10+
recv_email = "your_recv_email"
1111
smtp_server = "smtp.qq.com"
1212
smtp_port = 465
1313

python_stdlib_learning/9_network_communication/smtplib_learn/s2.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
from email.mime.text import MIMEText
44

55
# 配置信息
6-
sender_email = "3135989009@qq.com"
6+
sender_email = "your_send_email"
77
sender_password = "qegpizcjxcckdebe"
8-
to_email = "3135989009@qq.com"
9-
cc_email = "xianzhisen_yang@outlook.com"
10-
bcc_email = "xianzhisen3135@gmail.com"
8+
to_email = "your_send_email"
9+
cc_email = "your_recv_email"
10+
bcc_email = "other_your_recv_email"
1111
smtp_server = "smtp.qq.com"
1212
smtp_port = 465
1313

python_stdlib_learning/9_network_communication/smtplib_learn/s3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
from typing import final
66

77
# 配置信息
8-
sender_email = "3135989009@qq.com"
8+
sender_email = "your_send_email"
99
sender_password = "qegpizcjxcckdebe"
10-
recv_email = "xianzhisen_yang@outlook.com"
10+
recv_email = "your_recv_email"
1111
smtp_server = "smtp.qq.com"
1212
smtp_port = 587
1313

python_stdlib_learning/9_network_communication/smtplib_learn/s4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
from email.mime.text import MIMEText
55

66
# 配置信息
7-
sender_email = "3135989009@qq.com"
7+
sender_email = "your_send_email"
88
sender_password = "qegpizcjxcckdebe"
9-
recv_email = "xianzhisen_yang@outlook.com"
9+
recv_email = "your_recv_email"
1010
smtp_server = "smtp.qq.com"
1111
smtp_port = 465
1212
# 创建邮件内容

python_stdlib_learning/9_network_communication/smtplib_learn/s5.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
from ssl import enum_certificates
88

99
# 配置信息
10-
sender_email = "3135989009@qq.com"
10+
sender_email = "your_send_email"
1111
sender_password = "qegpizcjxcckdebe"
12-
recv_email = "xianzhisen_yang@outlook.com"
12+
recv_email = "your_recv_email"
1313
smtp_server = "smtp.qq.com"
1414
smtp_port = 465
1515
attach_path = "./email_html.html"

python_stdlib_learning/9_network_communication/smtplib_learn/s6.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
)
1313

1414
# 配置信息
15-
sender_email = "3135989009@qq.com"
15+
sender_email = "your_send_email"
1616
# sender_password = "qegpizcjxcckdebe"
1717
sender_password = "qegpizcjxcckdadw"
18-
recv_email = "xianzhisen_yang@outlook.com"
18+
recv_email = "your_recv_email"
1919
smtp_server = "smtp.qq.com"
2020
smtp_port = 465
2121
max_retres = 3

0 commit comments

Comments
 (0)