|
Posted by Joaquim Amado Lopes on 10/11/41 11:53
Greetings.
I'm writing a backoffice system from scratch. After it is completed
and debugged, it will be upload to a remote server.
Already tested the mail function on the remote server and it worked
fine but don't know exactly what to setup on my PC so it can be tested
localy.
OS:
Windows XP
Running:
Apache 2.0 with PHP 5.1.4
SMTP and mail variables in php.ini:
sendmail_from: mymail@localhost
sendmail_path: no value
SMTP: localhost
smtp_port: 25
PHP instruction:
mail($email, $subject, "From: mymail@localhost");
Error:
Warning: mail() [function.mail]: Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or use ini_set()
Is there something I need to change in the OS setup? Do I need to
install anything else? Different port?
Any help will be apreciated.
Thank you,
Joaquim Amado Lopes
Navigation:
[Reply to this message]
|