php-windows Digest 7 Jan 2004 15:11:10 -0000 Issue 2071

Topics (messages 22510 through 22511):

mail()
        22510 by: Anthony Ritter
        22511 by: Mike Brum

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Using php/apache/mysql

I am testing an mail script.

The script has a .html form which receives the text input and then a .php
script to execute the variables in a mail() function.

When I publish both files - the .html and .php - to my ISP's server and
enter the data and hit submit  I receive an e-mail.

In my php.ini file I have configured the SMTP to the name of the ISP's email
server.

However, when testing the same script out locally on Apache Server: I get
the form box, enter the data but I do not receive an email.

I only use one ISP.  Is it possble they have two name servers and that is
why I am not receiving an e-mail when testing on Apache Server?

Thank you for any help.
Best...
Tony Ritter

--- End Message ---
--- Begin Message ---
It's very possible that they're not letting you relay through them since
you're not providing any authentication for that mail server but just trying
to send (as far as it can tell) "random mail from an unknown sender".

The mail server can't tell the difference from your script from that of any
other one on the internet unless your ISP uses an IP-based accept list. 

I would give them a quick call to see what sort of authentication they
require and if you'll be able to use their mail server for this activity.

Regards
Michael Brum 

-----Original Message-----
From: Anthony Ritter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 1:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] mail()

Using php/apache/mysql

I am testing an mail script.

The script has a .html form which receives the text input and then a .php
script to execute the variables in a mail() function.

When I publish both files - the .html and .php - to my ISP's server and
enter the data and hit submit  I receive an e-mail.

In my php.ini file I have configured the SMTP to the name of the ISP's email
server.

However, when testing the same script out locally on Apache Server: I get
the form box, enter the data but I do not receive an email.

I only use one ISP.  Is it possble they have two name servers and that is
why I am not receiving an e-mail when testing on Apache Server?

Thank you for any help.
Best...
Tony Ritter

--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--- End Message ---

Reply via email to