<html><head><base href="x-msg://1699/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 12 Nov 2010, at 15:06, Amrit Pal wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I tried to set up a mail server for creating a account at OSV(localhost:3000).But i didn't successed.<br>Can anybody tell me how to set up a mail server for this or  just read the activation code from database ?<br>Please help me to do this<br><br></div></div></div></span></blockquote><br></div><div>So in my previous email I said:</div><div><br></div><div>"Alternatively you should be able to either read the activation code from the database or just delete the activation code, set activated_at to the current time and set state to 'active', I think that's enough to make the user active."</div><div><br></div><div>Go into your database and do:</div><div><br></div><div>SELECT * FROM users;</div><div><br></div><div>Find the numerical ID of your user in the results and then put it into the following SQL:</div><div><br></div><div>UPDATE users SET state = 'active', activated_at = NOW() activation_code = NULL WHERE id = 1;</div><div><br></div><div>You will need to replace the "1" with your ID, though if you only have one user the ID is probably 1 anyway.</div><div><br></div><div>John</div></body></html>