FsPages laisse la place à Gitlab Pages ! Voici la documentation pour vous en servir : https://docs.gitlab.com/ce/user/project/pages/index.html

Public
Snippet $388 authored by Sébastien Adam

Python: envoi simple d'un e-mail

email.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import smtplib
from email.message import EmailMessage

msg = EmailMessage()
msg["From"] = "Me <me@nowhere.com>"
msg["To"] = "You <you@nowhere.com>"
msg["Subject"] = "Test message"
msg.set_content("This is a test message")

with smtplib.SMTP_SSL('smtp.mailserver.com') as s:
  s.login('my_login', 'my_password')
  s.send_message(msg)
  s.quit()