Skip to main content

Just sends email. Simple, easy, multiformat.

Project description

Just sends emails. Simple, easy, multiformat.



to: Jane Doe <>, {% for u in users %}{{ }}, {% endfor %}
cc: John Doe <>, {{ copy_user.get_full_name }} <{{ }}>
subject: The whole email is a template
content-type: markdown
  Reply-To: Jaqueline <>
  Organization:, Inc.
  - /absolute/path/file.odt
  - relative/path/file.ods
  - {{ file.path }}
  - ['awesomereport.odt', 'mydocuments/crappy_report.odt', 'application/vnd.oasis.opendocument.text-template']
{% load special_filter %}

This is a list of special items:

{% for item in item_list %}
   * {{ item|special }}
{% endfor %}
import ogmios

ogmios.send_email('mail/template.html', {'item_list': ['Hello']})

This will render the content as markdown, and send the email with an HTML part and a Plaintext part.


Resend an email with different context:

import functools
import ogmios

from myapp.models import User

send_registration = functools.partial(ogmios.send, 'mail/template.html')
send_registration({'user': User.objects.get(pk=1337)})


0.9.0 (2015-06-18)

  • Initial version

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-ogmios-0.9.0.tar.gz (4.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page