View Full Version : PHP and SMTP
filburt1
03-20-2003, 11:04 PM
How can I get PHP in Windows (4.3.0) to work with my SMTP server so I can send e-mails with mail()?
amykhar
03-20-2003, 11:06 PM
There is a free Windows SMTP server that you can download for local testing. If you want me to scrounge up the URL for you, I will.
I can't use my regular SMTP server because it requires authentication and I could never figure out how to configure that in the php.ini file.
Amy
colicab-d
03-20-2003, 11:07 PM
this on a localhost? if so its just a case of recompiling php to use it.
filburt1
03-20-2003, 11:25 PM
It's localhost but on Windows so I probably won't have to recompile, just edit php.ini.
Amy: not looking for an SMTP server, just looking for a way to get it to connect to my host's server.
amykhar
03-21-2003, 12:08 AM
That's easy. I am enclosing my php.ini file as php.txt Look for SMTP in it and change localhost to the IP of your SMTP server.
filburt1
03-21-2003, 12:13 AM
Cheers :)
Now I have to turn off mail functions in my test vB before I start accidently spamming random people :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.