| Posted: 21 Jun 2005 19:13 | |
|
Registered User Currently Offline |
Posts: 1 Join Date: Jun 2005 |
|
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 | |
|
Administrator |
Posts: 125 Join Date: Feb 2005 |
|
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 | |
|
Registered User Currently Offline |
Posts: 5 Join Date: Mar 2005 |
|
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 | |
|
Administrator |
Posts: 125 Join Date: Feb 2005 |
|
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 ... |
|