{"id":13806264,"url":"https://github.com/domenkozar/pyramid_marrowmailer","last_synced_at":"2025-12-16T23:57:19.408Z","repository":{"id":4687488,"uuid":"5834242","full_name":"domenkozar/pyramid_marrowmailer","owner":"domenkozar","description":"Pyramid integration package for marrow.mailer, formerly known as TurboMail.","archived":false,"fork":false,"pushed_at":"2020-03-30T07:57:47.000Z","size":18,"stargazers_count":5,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T09:23:53.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domenkozar.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-16T23:28:09.000Z","updated_at":"2020-05-23T16:29:02.000Z","dependencies_parsed_at":"2022-09-14T05:02:09.342Z","dependency_job_id":null,"html_url":"https://github.com/domenkozar/pyramid_marrowmailer","commit_stats":null,"previous_names":["ielectric/pyramid_marrowmailer"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/domenkozar/pyramid_marrowmailer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domenkozar%2Fpyramid_marrowmailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domenkozar%2Fpyramid_marrowmailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domenkozar%2Fpyramid_marrowmailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domenkozar%2Fpyramid_marrowmailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domenkozar","download_url":"https://codeload.github.com/domenkozar/pyramid_marrowmailer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domenkozar%2Fpyramid_marrowmailer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27773302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T01:01:09.588Z","updated_at":"2025-12-16T23:57:19.386Z","avatar_url":"https://github.com/domenkozar.png","language":"Python","funding_links":[],"categories":["Email"],"sub_categories":[],"readme":"Pyramid integration package for \"A highly efficient and modular mail delivery\nframework for Python 2.6+ and 3.1+, formerly TurboMail.\"\n\nCurrently it must be used with ``pyramid_tm``, as ``.send()`` only works\nif ``transaction``.commit() succeeded.\n\nINSTALL\n=======\n\n::\n\n    $ env/bin/easy_install pyramid_marrowmailer\n\n\nUSAGE\n=====\n\nIf you have package installed, you can configure it in Pyramid like always::\n\n    config.include('pyramid_marrowmailer')\n\nAll settings ``marrow.mailer`` expects are prefixed with ``mail.``. If you want\nto use different prefix, set it with ``pyramid_marrowmailer.prefix``.\n\nTo see what options ``marrow.mailer`` support, see\n`the documentation \u003chttps://github.com/marrow/marrow.mailer\u003e`_. Note that\nboolean options need a ``.on`` suffix. For example ``mail.transport.debug.on = true``.\nOptions that need to be converted to integer, add ``int`` suffix. For example\n``mail.transport.port.int = 1337``.\n\n``pyramid_marrowmailer`` calls ``Mailer.start`` when ``config.include('pyramid_marrowmailer')``\nis called. ``atexit`` is used to register ``Mailer.stop`` to shutdown when wsgi server will exit.\n\nNote that ``pyramid_marrowmailer`` subclasses ``marrow.mailer.Mailer`` to provide support for\n``transaction``. Class is importable from ``pyramid_marrowmailer.TransactionMailer``.\n\nYou can access ``pyramid_marrowmailer.TransactionMailer`` instance in two ways::\n\n    message = request.mailer.new()\n    ...\n    message.send()\n\n\nOr::\n    \n    from pyramid_marrowmailer import get_mailer\n    mailer = get_mailer(request)\n    message = mailer.new()\n    ...\n    message.send()\n\n\nEXAMPLE\n=======\n\nIf we have paster ``.ini`` something like::\n\n    mail.mode = direct or transaction\n    mail.transport.use = smtp\n    mail.message.author = foobar@foo.com\n\nInside a view, we can do::\n\n    message = request.mailer.new()\n    message.subject = \"foobar2\"\n    message.to = \"foobar2@bar.com\"\n    message.plain = \"hi\"\n    message.send()\n\n\nTESTING\n=======\n\n::\n\n    $ pip install nose coverage pep8 setuptools-flakes\n    $ ./pre-commit-check.sh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomenkozar%2Fpyramid_marrowmailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomenkozar%2Fpyramid_marrowmailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomenkozar%2Fpyramid_marrowmailer/lists"}