Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/06/2011, 10:36
gabrielcorr4
 
Fecha de Ingreso: octubre-2010
Ubicación: Guayaquil
Mensajes: 195
Antigüedad: 13 años, 6 meses
Puntos: 3
como configuro la funcion mail() en local

Hola desearia mandar mails desde php en local , pero no se como configurarlo bien desde php.ini; veo varias faqs todas muy diferentes, mi php.ini por defecto lo tengo asi:

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = 127.0.0.1

; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = [email protected]

que tendria que cambiar?

gracias.

se me olvidaba me sale este error al mandar un mail:


Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\EasyPHP-5.3.6.0\www\prueba\mandar_correo_php.php on line 10