Metadata-Version: 2.1
Name: spool
Version: 0.8.2
Summary: Send mails with yaml
Home-page: UNKNOWN
Author: Daniel Besmer
Author-email: besmerd@gmail.com
License: BSD-3-Clause
Project-URL: Documentation, https://besmerd.github.io/spool
Project-URL: Code, https://github.com/besmerd/spool
Description: $ spool\_
        =========
        
        Spool allows you to generate test mails specified in YAML.
        
        Installation
        ------------
        
        .. code:: sh
        
           pip install .
        
        **Note**: The module M2Crypto, which handles S/MIME signing and encryption,
        requires the installation of `swig`. Use your favourite package manager to
        install it (e.g. `sudo yum install swig` or `sudo apt install swig`).
        
        
        Usage
        -----
        
        .. code:: sh
        
           spool --help
        
        Example configuration file:
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~
        
        .. code:: yaml
        
           ---
           # mails.yml
        
           # Optional defaults for keys mails.
           defaults:
             sender: foo@example.com
             recipents: Bar <bar@example.com>, baz@example.com
        
           # Optional variables which can be used below.
           vars:
             message: |
               Hello world,
        
               Foo bar baz ...
        
               Kind regards,
               Foo
        
           # Mails to send.
           mails:
             - name: Test Mail
               description: Hello world test mail
               headers:
                 X-Mailer: Spool Mailer
               text_body: '{{ message }}'
        
        Generate mail(s):
        ~~~~~~~~~~~~~~~~~
        
        .. code:: sh
        
           # Send mails to/trought a relay smtp server
           spool --verbose --relay localhost:2525 example/simple.yml
        
           # Send mails directly to remote smtp server
           spool --verbose example/simple.yml
        
           # Use Google's dns servers for MX rr lookup
           spool --verbose --nameserver 8.8.8.8 example/simple.yml
        
        For further examples visit the
        `documentation <https://besmerd.github.io/spool>`__.
        
Keywords: email,mailer
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Provides-Extra: install
Provides-Extra: dev
Provides-Extra: test
