Metadata-Version: 1.1
Name: smtp-faker
Version: 0.1.1
Summary: SMTP Faker -- smtp server for development
Home-page: https://github.com/zzzsochi/smtp-faker/
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Description: ==========
        SMTP Faker
        ==========
        
        SMTP server for development.
        
        ------------
        Installation
        ------------
        
        Just PIP:
        
        .. code:: bash
        
            $ pip install smtp-faker
            $ smtp-faker --http=localhost:8080 --smtp=0.0.0.0:8025
        
        Or Docker:
        
        .. code:: bash
        
            $ docker run --rm -it -p 8080:80 -p 8025:25 --name smtp-faker zzzsochi/smtp-faker
        
        
        ------------------
        Send test messages
        ------------------
        
        .. code:: bash
        
            $ python3 -m smtp_faker.test N
            $ python3 -m smtp_faker.test HOST:PORT N
        
        .. code:: bash
        
            $ python3 -m smtp_faker.test localhost:8025 10
        
        .. code:: bash
        
            $ docker exec -it smtp-faker python3 -m smtp_faker.test 10
        
        
        ---
        API
        ---
        
        URLs
        ----
        
        * `GET /messages`
        * `GET /messages/:id`
        * `GET /messages/:id/plain`
        * `GET /messages/:id/html`
        * `GET /messages/:id/raw`
        * `/ws`
        .. * `POST /messages/:id/forward`
        
        Message object
        --------------
        
        :id: str
        :ts: ISO-date timestamp
        :size: int, size in bytes
        :headers: message headers
        
            :From: sender address
            :To: recievers
            :Subject: message subject
        
            ...and other headers.
        
Keywords: asyncio,aiohttp,email,smtp,smtpd
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
