Metadata-Version: 2.1
Name: mailupdater
Version: 0.0.3
Summary: Easily send mail updates to yourself.
Home-page: https://github.com/ychnlgy/MailUpdater
Author: Yuchen Li
Author-email: ychnlgy@gmail.com
License: MIT
Description: # MailUpdater
        
        A Python module for easily sending mail updates to yourself.
        
        ## Quickstart
        
        ```python3
        
        import mailupdater
        
        username = input("Email address: ")
        
        service = mailupdater.Service(username)
        
        with service.create("Hello world") as email:
            email.write("Python is great for sending emails.")
        
        # A new email will appear in your inbox.
        
        ```
        
        You can also attach files and send multiple emails:
        
        ```python3
        
        import mailupdater
        
        username = input("Email address: ")
        
        service = mailupdater.Service(username)
        
        with service.create("Vacation pix") as email:
            email.write("See attachments.")
            email.attach("file.txt")
            email.attach("image.png")
            email.write("These are my vacation pictures.")
        
        with service.create("Reminder") as email:
            email.write("Did you see the previous email I sent?")
        
        # Two new emails will appear in your inbox.
        
        ```
        
        Sending emails to multiple recipients is easy:
        
        ```python3
        
        import mailupdater
        
        username = "jon@mail1.com"
        recipients = ["mary@mail2.com", "bob@mail3.com"]
        
        service = mailupdater.Service(username, recipients)
        
        with service.create("Party invitation") as email:
            email.write("Come to my party!")
        
        # All recipients, including yourself, will recieve the email.
        
        ```
        
        ## Installation
        
        ```bash
        pip3 install mailupdater
        ```
        
        ## Testing
        
        Do:
        
        ```python3
        
        import mailupdater
        
        mailupdater.test()
        
        ```
        
        Then follow the instructions of the program.
        
        If the program finishes successfully, then you should see two new emails in your inbox.
        
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
