Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 17th, 2004, 12:08 PM
Registered User
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating user account through email-activation

Hi there,

I want to make a page which registrates a new user.
When this new user submits his/her info, an email has to be send to this user. He/She then has to reply, which would activate his/her account.

Now this is the first time I want to do so (school project) and I have a few questions:
- Do you need a domainname, or is an IP-address also possible ?
- SMTP server is installed, but how must I set it up ?

Thanx in advance

Dennis van Herk (The Neterlands)

Old December 17th, 2004, 03:30 PM
Friend of Wrox
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts

You don't really need a domain at all, you can run it on your own computer as long as you have the software.

You need a server language, such as ASP, PHP, CGI, ColdFusion, JSP, etc.

Sorry, I'm clueless about SMTP. Try Googling.

-Snib - http://www.snibworks.com
Where will you be in 100 years?
Old February 2nd, 2005, 09:33 PM
Friend of Wrox
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts

1. on a GNU/Linux box, have your program pipe a message to mail (e.g. in perl :
open (OUT, "|mail -s Registration details") || die ("oops");
print OUT "thanks for registering, etc...";
close OUT

2. Use the perl Mail::Sendmail module ( http://cpan.org/modules/by-module/Ma...il-0.79.readme ) or php's mail function ( http://uk.php.net/mail)

Don't Stand on your head - you'll get footprints in your hair. http://charlieharvey.com

Similar Threads
Thread Thread Starter Forum Replies Last Post
user activation MunishBhatia ASP.NET 2.0 Professional 4 October 12th, 2007 02:50 AM
Creating account using email-activation BaNSHee Classic ASP Basics 1 December 17th, 2004 01:17 PM
creating new user(object name) for IIS account joshil Access ASP 1 April 18th, 2004 01:43 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.