»User: »Password:   Remember Me? 
>e-novative> Support and Discussion Forums / >e-novative> WAMP / Installation and Configuration / Mail Server ?? Sending via PHP page
Posted:  21 Jun 2005 19:13
I just installed WAMP for a small PHP / MySQL application and I have everything configured and it is working properly except for being able to send out an email.

I know that I probably need some type of mail server installed on the machine to do this.

Any suggestions ??

Thank you.

Jeff
Posted:  22 Jun 2005 14:06
PHP can't really send email on Windows without additional software.

You need an SMTP server that sends the mail for you. You can configure the SMTP settings in your php.ini, but you cannot configure PHP to use SMTP authentication, which is required my most mail servers when accepting mail from remote systems.

This leaves you with the option to use something like PEAR::Mail which supports SMTP authentication.

Another way (which I'd not recommend) would be to set up a local mail server allowing for unauthenticated sending of emails. Be warned about the possible security and spam relaying implications, however.
Posted:  31 Aug 2005 18:19
Hi,

I am facing the same problem, but I have PEAR installed, 2 questions

1. Is there any freeware SMTP server you would recommed?
2. Could you point me to an an actual example of how to use the PEAR::Mail module in an application?

Thanks in advance.

JC
Posted:  01 Sep 2005 18:40
JC,

Sorry, we can't recommend a freeware SMTP server (for Windows). We use Postfix on our servers, which requires Linux, I believe. I suppose you want a local SMTP server for testing without internet connection?

For an example of use, see http://pear.php.net/manual/en/package.mail.ma ...