![]() |
SMTP port
I'm currently have a server set up on a home computer (WAMP). I opened port 25 (smtp) but the mail() function in php still won't work for me. Do I have to configure anything? I haven't created any type of email on my server, I just opened the port.
|
First off, what error do you get? And second, you probably haven't specified a mail server. I don't really know a whole lot about the mail function, as I never use it except in testing phpbb forums. But if all you have done is setup the port, you need more configuration.
|
For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail wrappers that come with them.
|
Does someone have a walk through as to how I would go about configuring a mail account?
I don't get an error message but my mail doesnt send. Script: :
<? |
do you have a program like sendmail installed?
|
I've never heard of WAMP. That might be your problem. A skim of their website doesn't impress me much, and I haven't seen any mention of an SMTP service of any kind or any equivalent of sendmail(1) being included.
|
It might be your ISP blocking it.
|
| All times are GMT -5. The time now is 8:02 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC