[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ini.php



Caros não sei se há como mais é possive alterar o arquivo ini.php para que quando utulizar o serviço SMTP sem a maquina estar na internet, somente pra testar se vai dar erro caso deixe algum campo obrigatório em branco. Sempe gera esse erro.

Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in d:\fabio_rodrigo\site sig\formmail.php on line 193
Obrigado por enviar o formulário

Meu ini.php

[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
; runtime, you can define these variables by calling define_syslog_variables().
define_syslog_variables  = Off

[mail function]
; For Win32 only.
SMTP = localhost ; for Win32 only
smtp_port = 25
sendmail_from= me@localhost.com ; for Win32 only

; For Win32 only.
;sendmail_from = me@example.com
Reply to: