Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitabd5c62

Browse files
committed
update sending emails tutorial
1 parent62b175c commitabd5c62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎general/email-sender/email_sender_with_attachments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
defsend_mail(email,password,FROM,TO,msg):
17+
# initialize the SMTP server
1718
# in our case it's for Microsoft365, Outlook, Hotmail, and live.com
1819
server=smtplib.SMTP(host="smtp.office365.com",port=587)
1920
# connect to the SMTP server as TLS mode (secure) and send EHLO

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp