;)
> send_mail('Feedback from your site, topic: %s' %
> topic,
> message, sender, ['[EMAIL PROTECTED]'])
> return HttpResponseRedirect('/contact/thanks/')
> else
Thanks for the help.
There was a problem with the mail server. Now I got it working.
Thanks a lot!
On Dec 27, 7:18 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Dec 27, 2007 6:01 PM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
> > It seems that this error was coming from HttpResponseR
On Dec 27, 2007 6:01 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> It seems that this error was coming from HttpResponseRedirect() of the
> contact view method, but I did not figure what went wrong.
No, look at the traceback. The lines it's highlighting are the ones
which send the email, and
', '[EMAIL
> PROTECTED]')
> send_mail('Feedback from your site, topic: %s' %
> topic,
> message, sender, ['[EMAIL PROTECTED]'])
> return HttpResponseRedirect('/contact/than
return HttpResponseRedirect('/contact/thanks/')
else:
form = ContactForm()
return render_to_response('books/contact.html', {'form': form})
One odd thing is that I got the same error (cannot assign requested
address) even i
5 matches
Mail list logo