Hello

I am getting an error 

 User_Email = auth.user.email
AttributeError: 'NoneType' object has no attribute 'email'




On Thursday, September 20, 2012 11:15:31 AM UTC+2, Alec Taylor wrote:
>
> Nicely done. 
>
> On Thu, Sep 20, 2012 at 7:13 PM, hasan alnator 
> <haln...@gardeniatelco.com <javascript:>> wrote: 
> > Ok I DID it like this : 
> > 
> > auth.settings.register_next = URL('Welcome') 
> > 
> > def Welcome(): 
> >     User_Email = auth.user.email 
> >     mail.send(User_Email,'Welcome To website','Welcome To website') 
> >     if request.vars.lan == 'En': 
> >         redirect('index',vars={'lan':'En'}) 
> >     else: 
> >         redirect('index') 
> > 
> > 
> > Best Regards, 
> > 
> > On Thu, Sep 20, 2012 at 11:09 AM, hasan alnator <
> haln...@gardeniatelco.com <javascript:>> 
> > wrote: 
> >> 
> >> Dear Alec , 
> >> 
> >> I Dont want email verification , i just want to send an email that says 
> >> welcome . 
> >> 
> >> Best Regards, 
> > 
> > 
> > -- 
> > 
> > 
> > 
>

-- 



Reply via email to