File size: 169 Bytes
899a7c7
 
 
 
 
 
1
2
3
4
5
6
7
import smtplib


def send_email(recipient: str, body: str) -> None:
    client = smtplib.SMTP("localhost")
    client.sendmail("noreply@example.com", [recipient], body)