diff --git a/examples/example.py b/examples/example.py deleted file mode 100644 index 1d1ba32..0000000 --- a/examples/example.py +++ /dev/null @@ -1,35 +0,0 @@ -import ntptime -from machine import RTC - -from micromail import MicromailClient - -# Use NTP to synchronize time -rtc = RTC() -ntptime.settime() - -# Create an SMTP client -client = MicromailClient( - host="mail.example.com", - port=465, - ssl=True, -) - -# Connect to the server -client.connect() -# Login to the server -client.login("example@example.com", "password") -# Initialize a new message -client.new_message("example@example.org") -# Set message headers -client.headers( - { - "subject": "Test", - } -) -# Write message content -client.write_message("Hello world!") -client.write_message("Ceci est un message très intéressant.") -# Send message -client.send() - -client.quit() diff --git a/package.json b/package.json deleted file mode 100644 index 5c3a6d6..0000000 --- a/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "urls": [ - ["micromail/__init__.py", "micromail/__init__.py"] - ], - "deps": [ - ["datetime", "latest"] - ], - "version": "0.1.0" -}