How to setup email confirmation in Pinax?, Do I need to setup SMTP server or something like that?, I tried to find documentation about that but failed. Can anyone redirect me to documentation or any related article explaning about this?, Pinax uses emailconfirmation app. I browsed the code of emailconfirmation, But It doesn’t include any settings about host or server.
Share
The integration of emailconfirmation is pretty straightforward. You don’t have to set up any mailserver, if you have an existing mailserver that you can use to send your mails. You just have to fill in the data used for sending the mails in your standard Django settings, and emailconfirmation is going to use that:
To summarize what to do next: You have to create a form for entering an email-adress (The reason why such a form doesn’t come with emailconfiguration is somewhat obscure). This can look something like this:
This will allow a user to enter an email address, check if the email-adress allready exists and is in use by another account. After that it will add the emailadress to the unconfirmed emailadresses and send an email with a link to the user. The user then can confirm the emailadress by clicking on the link.
That’s all there is to it. Let’s hope the Pinax guys will do a quality offensive on their docs soon 😉