Reply to HELP: setting SMTP in own server

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация