This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os, sys, numpy, smtplib, logging, datetime | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
from argparse import ArgumentParser | |
def test_simple_email( recipient, sender, port_number ): | |
""" | |
send a simple test email from ``recipient`` to ``sender``, at ``port_number`` on the local machine, using the SMTP_ protocol. |
OlderNewer