Name | spool JSON |
Version |
1.0.0
JSON |
| download |
home_page | None |
Summary | Send mails with yaml |
upload_time | 2024-11-08 07:48:39 |
maintainer | None |
docs_url | None |
author | Daniel Besmer |
requires_python | >=3.6 |
license | BSD-3-Clause |
keywords |
email
mailer
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
$ spool\_
=========
Spool allows you to generate test mails specified in YAML.
Installation
------------
.. code:: sh
pip install .
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 generate/send
mails:
- name: Test Mail
description: Hello world test mail
headers:
X-Mailer: Spool Mailer
text_body: '{{ message }}'
Send/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>`__.
Raw data
{
"_id": null,
"home_page": null,
"name": "spool",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "email, mailer",
"author": "Daniel Besmer",
"author_email": "besmerd@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d8/7e/d1195ee6167962a1c849f397ab602d9dd791c1ee68253c3d03d968cd7ba7/spool-1.0.0.tar.gz",
"platform": null,
"description": "$ spool\\_\n=========\n\nSpool allows you to generate test mails specified in YAML.\n\nInstallation\n------------\n\n.. code:: sh\n\n pip install .\n\n\nUsage\n-----\n\n.. code:: sh\n\n spool --help\n\nExample configuration file:\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: yaml\n\n ---\n # mails.yml\n\n # Optional defaults for keys mails\n defaults:\n sender: foo@example.com\n recipents: Bar <bar@example.com>, baz@example.com\n\n # Optional variables which can be used below\n vars:\n message: |\n Hello world,\n\n Foo bar baz ...\n\n Kind regards,\n Foo\n\n # Mails to generate/send\n mails:\n - name: Test Mail\n description: Hello world test mail\n headers:\n X-Mailer: Spool Mailer\n text_body: '{{ message }}'\n\nSend/generate mail(s):\n~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: sh\n\n # Send mails to/trought a relay smtp server\n spool --verbose --relay localhost:2525 example/simple.yml\n\n # Send mails directly to remote smtp server\n spool --verbose example/simple.yml\n\n # Use Google's dns servers for MX rr lookup\n spool --verbose --nameserver 8.8.8.8 example/simple.yml\n\nFor further examples visit the\n`documentation <https://besmerd.github.io/spool>`__.\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Send mails with yaml",
"version": "1.0.0",
"project_urls": {
"Code": "https://github.com/besmerd/spool",
"Documentation": "https://besmerd.github.io/spool"
},
"split_keywords": [
"email",
" mailer"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "231a90a2cbeab6f36ad0a57e639d3262b00e79428e6489f4b76f4df5fa3a7689",
"md5": "65639502ef9b9eb223eed0dc4fc729c7",
"sha256": "3dc924ef6ff1603f0493bb4fca48bdbf0669e4980c83c9a751673f458b9607c1"
},
"downloads": -1,
"filename": "spool-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "65639502ef9b9eb223eed0dc4fc729c7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 12951,
"upload_time": "2024-11-08T07:48:38",
"upload_time_iso_8601": "2024-11-08T07:48:38.727156Z",
"url": "https://files.pythonhosted.org/packages/23/1a/90a2cbeab6f36ad0a57e639d3262b00e79428e6489f4b76f4df5fa3a7689/spool-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d87ed1195ee6167962a1c849f397ab602d9dd791c1ee68253c3d03d968cd7ba7",
"md5": "e7ad4e89f47e755a2d03629dbecc06f3",
"sha256": "73b1eea981609e44006db2b3c6afb1be84958952d30e42f82e8e5ddcb4342a0d"
},
"downloads": -1,
"filename": "spool-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "e7ad4e89f47e755a2d03629dbecc06f3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 15264,
"upload_time": "2024-11-08T07:48:39",
"upload_time_iso_8601": "2024-11-08T07:48:39.822735Z",
"url": "https://files.pythonhosted.org/packages/d8/7e/d1195ee6167962a1c849f397ab602d9dd791c1ee68253c3d03d968cd7ba7/spool-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 07:48:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "besmerd",
"github_project": "spool",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "spool"
}