Re: send_mail not firing

2010-05-19 Thread Nick
Welp, indentation error: def save(self): needed to unindent so it was called when the form was process, instead it was waiting for an error to trigger it, which it wouldn't do because the error halts the form from processing. There goes 13 hours of my life I'm never getting back. On May 19,

Re: send_mail not firing

2010-05-19 Thread Nick
It looks like the problem isn't with send_mail, its the save override on the form, the is_active = False isn't setting that option in the DB either, so it is skipping over the save options. Here they are again: forms.py: class RegisterForm(UserCreationForm): email =

Re: send_mail not firing

2010-05-19 Thread Nuno Maltez
Anything it the mail server's logs? Any trace of your app trying to send the message? Any errors? Nuno On Tue, May 18, 2010 at 11:42 PM, Nick wrote: > Actually, I've fixed the problem with send_activation. If i go via the > form it still doesn't trigger the email. > > On May

Re: send_mail not firing

2010-05-18 Thread Nick
Actually, I've fixed the problem with send_activation. If i go via the form it still doesn't trigger the email. On May 18, 5:19 pm, Nick wrote: > I get the same results. > > I dropped into the shell and tried it out > > >>> user = User(username="nick", email="t...@test.com")

Re: send_mail not firing

2010-05-18 Thread Nick
OK, it's all fixed. I updated the template rendering to actually use Context, if you look at activate.py I just put "context = ({". That's not helping anything out. I also added a default_host_email to the settings file. I don't know if that was the problem, but I'm leaving it in. On May 18, 5:19 

Re: send_mail not firing

2010-05-18 Thread Nick
I get the same results. I dropped into the shell and tried it out >>> user = User(username="nick", email="t...@test.com") >>> send_activation(user) 1 I think the 1 means that it passed but I don't get any emails sent On May 18, 5:08 pm, "ge...@aquarianhouse.com"

Re: send_mail not firing

2010-05-18 Thread Nick
I get the same result. I dropped into the shell and ran this >>> user = User(username="test", email="t...@test.com") >>>send_activation(user) 1 I don't really know what that 1 means, though. On May 18, 5:08 pm, "ge...@aquarianhouse.com" wrote: > what happens if you

Re: send_mail not firing

2010-05-18 Thread ge...@aquarianhouse.com
what happens if you set fail_silently to True? On May 19, 12:05 am, Nick wrote: > I am having an issue with an authentication app I am writing. The app > saves the form appropriately but doesn't send the confirmation email. > I am using the same email_host settings as with

send_mail not firing

2010-05-18 Thread Nick
I am having an issue with an authentication app I am writing. The app saves the form appropriately but doesn't send the confirmation email. I am using the same email_host settings as with other application that send email messages but with no results. Here is the process. First a form processes