I have seen problems like this arise before, but alas, I have not found any answers, so I figured I'd post my own personal problem and see what feedback I get.

I am close to being a total newbie at PHP/MySQL, but I have learned some of the basics and to an extent, I can understand the code.

Basically, I am working off of Apache, using localhost as a server for testing.

I am trying to create a Membership System for my website from a tutorial taken from phpfreaks.com and have ran into a problem.
Here's the problem that I am having thus far...

The Sighup page seems to work fine, I enter a Name, Last Name, Valid Email Address etc.
But when I hit Submit it returns the following error:


Warning: Failed to connect to mailserver, verify your "SMTP" setting in php.ini in c:\phpdev\www\register.php on line 132

Now, I know that the php.ini file needs to be modified to my local mail server to send the confirmation E-Mail, but the real problem is that I don't think I HAVE a Local E-Mail Server. And I don't really know how to set one up to work with my localhost and database.

My OS is Windows 98SE.

If anyone could provide any help on this matter I would VERY much appreciate it.
Could anyone possibly tell me of any Mail Servers I could get and how to configure them so that when I hit submit, the Confirmation E-Mail can be sent?

Thank you for your patience in reading my post, and I apologise if the problem I have presented is of the "Annoying Newbie" type.

  • Virtue.

    Since I'm not certainly sure how apache works in a win32 (windows) enviroment, i'll give you a lead.

    i did find that a few user comments in php.net/mail might have a solution for you.

    so go here: http://us4.php.net/mail and read the first user comment and/or search that page for win, win32 or windows and try those examples.

    hth.

      i think u want to have email function in your winbox
      is that possible to have email function without a email server running in ur winbox... yes... u can just rely to setting up things and have online connection to mail server.

        i think u need to have pop and smtp server

          Write a Reply...