I want to use django-mailer without PINAX. When I run ./manager.py send_mail
it prints:
Unknown command: 'send_mail' Type 'manage.py help' for usage.
How do I fix this?
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31) [GCC 4.2.1 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>> from django.conf import settings >>> 'mailer' in settings.INSTALLED_APPS True >>> $./manage.py send_mail Unknown command: 'send_mail' Type 'manage.py help' for usage.
and I used easy_install django-mailer to install the mailer, and the django version is
VERSION = (1, 1, 1, 'final', 0)
and mailer version is 0.1.0
A few things to double check:
At this point you should see send_mail in the list of available manage.py subcommands.
After than you will also want to make sure that you are running
./manage.py send_mail
via a cron job.There is no need to actually set these two cronjobs up during development, just look for your messages via the admin.
The django-mailer module has usage instructions but this should get you up and running.