Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/04/2009, 02:24
JAIMECANO
 
Fecha de Ingreso: abril-2009
Mensajes: 34
Antigüedad: 15 años
Puntos: 1
Configurar mail

Buenas, llevo un par de días dandole vueltas,

tengo esto
Código PHP:
$Recepient "correo.com";
$MsgSubject ="Nuevo Alta de Cliente";
$MsgBody ="El cliente X ha sido dado de alta";
$MsgHeader ="From: Sender name<correo.com>";
mail($Recepient,$MsgSubject,$MsgBody,$MsgHeader); 
Y me falla en la funcion

Warning: mail() [function.mail]: SMTP server response: 554 5.7.1 <correo.com>: Relay access denied in D:\Desarrollo_Web\agregar.php on line 149

que puede ser

en el php.ini tengo

[mail function]
; For Win32 only.
;SMTP = localhost
SMTP = smtp.eldemiservidordecorreo.com
smtp_port = 25

; For Win32 only.
sendmail_from = me_example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

Porque no me funciona??

Alguna sugerencia por favor

Creo que el error está en la la auntenticacion del usuario y password.
Como puedo hacer para que mi servidor reconozca quien soy

Última edición por GatorV; 22/04/2009 a las 10:16