Hello,

On 01/07/2003 08:37 PM, Rad Craig wrote:
I'm trying to implement this smtp_email stuff.  I'm running Win2k, ArgoSoft
Mail Server Pro, PHP 4.3.0, MySQL, etc.  I downloaded everything on these
pages:

DNS Resolver: http://www.phpclasses.org/browse.html/file/1910.html
You won't need this unless you are doing direct delivery which is not your case because you want to relay the messages in your local server.


MIME: http://www.phpclasses.org/browse.html/package/9.html
SMTP: http://www.phpclasses.org/browse.html/package/14

I'm sorry, but I'm a newb, so I have no idea what I'm doing with PHP.  I
created a \includes directory under my main PHP directory and my include
path in the .ini file points there.  I copied all of these files there
except for the test_*.* files.

I host my own mail server on the same machine.

I then loaded up the file test_smtp.php in an editor and started filling in
some blanks, like:

$to - changed this to my email address
$smtp->user - changed this to my email username
$smtp->realm - changed this to my domain name
$smtp->password - changed this to my email password

I left everything else alone except changing $smtp->debug=1 after it didn't
work the first time.  My mail server requires authentication.  I didn't
receive any email, nor any output in the browser when I run that test page.
Looks like it should give me SOME sort of feedback whether it succeeds or
fails at the bottom, apparently it's never getting that far.
To let you see anything, it is better to try this script from the command line (DOS prompt) using the PHP standalone executable (CGI/CLI) that is in your PHP installation directory named php.exe

Then just do php.exe -q test_smtp.php

Anyway, it is better to solve your problem to try the test_smtp_mail.php script instead.

--

Regards,
Manuel Lemos


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

Reply via email to