Removing Email Validation

3 views
Skip to first unread message

Raman Buttar

unread,
Jun 14, 2008, 3:26:09 AM6/14/08
to tg-registration
Is there any way to remove email validation from the registration
process? I do not require this extra step but I cannot seem to find a
free outgoing smtp server to work with TurboMail so I cannot leave it
in either. Any help would be appreciated.

Patrick Lewis

unread,
Jun 15, 2008, 11:09:06 PM6/15/08
to tg-registration
You might be able to, but I think it would be easier to roll your own
solution, since much of the controller logic deals with validating and
shuffling data around after validation. There's also the 'lost
password' functionality, which relies on email.

To make your own system, I think all you would need was a controller
and form that saves directly to the tg_users table. You could probably
borrow the forms from registration/widgets.py (NewUserSchema) if you
wanted to save a little work. You might also want a 'edit user' type
form, but again you could reuse the registration widgets as a base
(ExistingUserSchema).

Where are you planning on hosting this app? It's a little surprising
to me that your ISP doesn't offer outgoing smtp.

Raman Buttar

unread,
Jun 17, 2008, 1:44:16 AM6/17/08
to tg-registration
Actually, I found out you could use a Gmail account to send out emails
using SMTP. We are just working on a small school project to show the
capabilities of TurboGears so I wanted to include the 'registration'
plug-in to demonstrate how easy it is to get an app started with TG.
Thank you for your prompt reply.
Reply all
Reply to author
Forward
0 new messages