jak se dá přes python odesílat mail??
na internet u jsem to nasel pres modul django.core.mail ale ten se m sice podaril stahnout, ale kdyz zkousim:
from django.core.mail import*
tak mi to udela:
>>> from django.core.mail import*
Traceback (most recent call last):
File "<pyshell#32>", line 1, in -toplevel-
from django.core.mail import*
File "C:Python24libsite-packagesdjangocoremail.py", line 3, in -toplevel-
from django.conf.settings import DEFAULT_FROM_EMAIL, EMAIL_HOST, EMAIL_SUBJECT_PREFIX
File "C:Python24libsite-packagesdjangoconfsettings.py", line 29, in -toplevel-
raise EnvironmentError, "Environment variable %s is undefined." % ENVIRONMENT_VARIABLE
EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined.
prosím pomoc
Děkuji