{"id":16215020,"url":"https://github.com/xarg/django-emailqueue","last_synced_at":"2025-03-19T09:31:29.866Z","repository":{"id":901473,"uuid":"657501","full_name":"xarg/django-emailqueue","owner":"xarg","description":"Django app for sending queued emails using cron","archived":false,"fork":false,"pushed_at":"2011-01-08T13:10:23.000Z","size":100,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-11T02:12:55.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xarg.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-05-09T10:32:34.000Z","updated_at":"2022-02-06T16:27:37.000Z","dependencies_parsed_at":"2022-07-17T01:16:24.549Z","dependency_job_id":null,"html_url":"https://github.com/xarg/django-emailqueue","commit_stats":null,"previous_names":["humanfromearth/django-emailqueue"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xarg%2Fdjango-emailqueue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xarg%2Fdjango-emailqueue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xarg%2Fdjango-emailqueue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xarg%2Fdjango-emailqueue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xarg","download_url":"https://codeload.github.com/xarg/django-emailqueue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982140,"owners_count":20378605,"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","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-10-10T11:13:40.440Z","updated_at":"2025-03-19T09:31:29.555Z","avatar_url":"https://github.com/xarg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"django-emailqueue\n=================\n\nDescription\n-----------\nA very simple email queueing module that can be used to send mails using cron.\nThe sent e-mails are marked as deleted for future reference.\nThe module now searches every app for cron.py and executes the ``emailqueue`` callable\ninside it.\n\nExample appname/cron.py\n-----------------------\n\n::\n\n    from django_emailqueue.models import EmailQueue\n    def emailqueue():\n        reminder = get_reminders()\n        email_queue = EmailQueue(mail_to=reminder.user.email,\n                                 mail_subject=\"Noitification\",\n                                 mail_body=render_to_string(\n                                    'accounts/reminder.txt',\n                                    {'body': reminder.body}\n                                ))\n        email_queue.save()\n\nInstallation\n------------\n\neasy_install django-emailqueue\n\nPut ``django_emailqueue`` into **INSTALLED_APPS** and make sure you set\n**DEFAULT_FROM_EMAIL** and **DEFAULT_REPLYTO_EMAIL** if you want default\nemail addreses.\n\nUsage\n-----\nPut this into a cron:\n    django_emailqueue_cron /path/to/django /path/to/lockdir\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxarg%2Fdjango-emailqueue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxarg%2Fdjango-emailqueue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxarg%2Fdjango-emailqueue/lists"}