I installed the latest version XAMPP - Apache, PHP, MySQL and MercuryMail on my Windows XP Pro box at home which is on a DSL connection. The installation went pretty smoothly, but when I came to the part where I had to create a new user for the first time, everything came to a screeching halt. I configured PHP.INI to point to localhost and tried to set up mercury mail to work. It wouldn't. I then tried the SMTP server with IIS. That wouldn't work either. I then tried office mail and that wouldnt work either. I dont have an external SMTP provider other than my SMTP server at work which I cannot use for obvious reasons - what should I do? How do I set up an SMTP server on my box that will actually work? What is the exact setting on the PHP.INI file for that mail server? I have tried localhost and the name of the machine. The SMTP port 25 is open.
Please help!
Comments
Comment #1
dejannenov commentedConfirm same problem. I used the install/development setup described by the IBM folks at developer works and was NOT able to create an admin account.
If I may make a suggestion - when creating the very first account - ELIMINATE THE conformation EMAIL - just perform an immediate registration / enablement.
Comment #2
ciscokid commentedI have idenrical problem as above using xampp etc, will try switching off email confirmation.
Thanks for suggestion
Comment #3
ciscokid commentedDoh....
I forget to set the SMTP settings - it does work with with my provider. Thanks a lot
Comment #4
LukeLast commentedComment #5
willow315 commentedWell, I've installed Drupal manually on Windows 2003, after installing PHP 5.25, MySQL 5.0 and all GUIS, PHPmyAdmin.
The Drupal site was actually a site that was originally created on a Linus machine, but adjustments have been made and the site is running fine. Everything else is OK. I just can't get the email to work.
I am running IIS6 and have SMTP set up on the server.
I'm looking for the exact settings to put in php.ini. I've tried a number of different things. I tried getting an SMTP set up on a completely different mail server on a completely different machine, and am back to tring to get SMTP to work on the same server that is running the Drupal site I've set up.
It defaults to SMTP = localhost - I've tried localhost and the IP address of the server.
Next comes smtp_port = 25. I left it at that.
Next is Sendmail_from = me@example.com
Well, I'm running this on a development virtural server with an IP address and no domain name per se. When I was attempting to connect to a mail server and an account had been actually set up for this site, I could figure out what address to use. It was just the accountname@Webserver.org in ourcase. That didn't work either.
but now what do I use as a send from address?
Any help will be totally appreciated.
Regards, WCW
Comment #6
oadaeh commentedIf you have Drupal on the same computer as your SMTP server, you should not need this module. Drupal should be able to use the mail() function of PHP, if the server is setup correctly.
You should first verify your server software is installed and configured correctly. Try doing an Internet search, like this one, for relevant documentation and help: http://www.google.com/search?q=how+to+setup+php+mail+iis
What was your error message? Without that, it will be almost impossible to help you, because I have no idea why it didn't work.
Really, any address should work, but that primarily depends on your SMTP server. It may be rejecting invalid e-mail addresses, so you probably should verify that the address, including the domain part, is valid (I would consider example.com to be an invalid domain).
Also, if you need additional help and provide more information, please create a new issue, rather than replying to this one.