Hi All,

I am using below given code to send email. When i am running this
code, i am getting  "You are not currently sending out real email.  If
you have sendmail installed you can use it by using the server with --
enable_sendmail" message on console. I am totally unable to solve this
issue. Please let me know the solution and reason for this issue as
soon as possible. It is very imp for me now.


In settings.py

EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'yourem...@gmail.com'
EMAIL_HOST_PASSWORD = 'yourpassword'
EMAIL_PORT = 587


>>> from django.core.mail import send_mail
>>> send_mail('Test', 'This is a test', 'f...@somewhere.com', 
>>> ['yourem...@somewhere.com'])

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to