Monday, October 1, 2012

Re: send_mail on MAC OS X 10.7

Comment the csrf from settings. It doesnt work when you want.I use session and own credentials to do that
And just write a simple view to send mail.
This will work without csrf or any of credentials & etc.

Cheers

Laxmikant

On Tue, Oct 2, 2012 at 6:15 AM, Cheng <chbeh88@googlemail.com> wrote:
Hi,

I am new to django.

I am following The Definitive Guide to Django SECOND EDITION by Adrian Holovaty and Jacob Kaplan -Moss and I cannot get the contact form to send mail. First the eg did not work at all until I added the @csrf-exempt decorator. Keeps getting Error 61 Connection Failure after that.

Would be grateful if someone can help.

Thanks,
Cheng

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



--
GlxGuru

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment