Re: [PHP] SMTP
- From: raf.news@xxxxxxxxx ("Alain Roger")
- Date: Mon, 10 Mar 2008 20:57:07 +0100
Ok, thanks for info, i've downloaded the MailEnable SW for free and i was
able to check that my PHP mail function really send correctly emails :-)
thanks a lot,
A.
On Mon, Mar 10, 2008 at 3:33 PM, Daniel Brown <parasane@xxxxxxxxx> wrote:
On Sun, Mar 9, 2008 at 4:38 PM, Alain Roger <raf.news@xxxxxxxxx> wrote:
Hi,to get
i know that this is not necessary the best forum for that, but i need
a real feedback and i guess you already faced the same issue as mine.my
basically, i develop php web application on windows XP platform.
So i have apache 2.24 installed and PHP 5.2.4.
now i would like to test if my application send emails, so i've checked
php.ini file and it seems ok.my
i tried to use IIS from windows to define a default SMTP server, but as
emails are not sent, i guess something is wrong with IIS.
So which HTTP server are you using? You stated earlier that you
have Apache 2.24 on there, but here you say that you're using IIS. If
you're using Apache, the IIS web server configuration will have
nothing to do with anything.
so does it exist a free SMTP server (similar that linux daemon) butrunning
on windows XP ?
I may be incorrect on this, but I'm pretty sure that
Win2K/XP/Vista have Microsoft Exchange bundled in for SMTP. Check in
Add/Remove Programs > Windows Components > Internet Information
Services (I think, but I'm guessing.... I really don't use Windows
that often). Even though it has the same name (IIS), in this case,
it's the category for all Internet services. There should be
something mentioning SMTP there.
if yes, where can i find it and what steps should i perform to be suremy
emails are sent ?
Check the logs for Exchange/SMTP or whatever other MTA you decide
to use and see if there's anything mentioned about the problem. It
could be an authentication/negotiation issue. Also, check your
Windows firewall (or third-party software) to ensure that you can
connect to localhost:25. The easiest way to test this is as follows:
Start > Run
Type: cmd
Type: telnet localhost 25
If it connects, type: HELO localhost
Note the response.
You can then try sending a message through the server manually, if
you'd like. While still connected via Telnet as shown above, type the
following (replacing things as necessary):
MAIL FROM: you@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
RCPT TO: youraddress@xxxxxxxxxx
DATA
Subject: Testing Email from Telnet
This is a test.
.
Always end with a period on a line of its own. That should show
you what, if any, error messages are being kicked out by your SMTP
server.
--
</Dan>
Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>
--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008
- References:
- SMTP
- From: "Alain Roger"
- Re: [PHP] SMTP
- From: "Daniel Brown"
- SMTP
- Prev by Date: Re: [PHP] cart in a session
- Next by Date: Session still open
- Previous by thread: Re: [PHP] SMTP
- Next by thread: PHP5 strtotime
- Index(es):
Relevant Pages
|