RE: [PHP-ES] OTRA DUDA SOBRE CORREO EN PHP

From: Date: Thu, 27 Nov 2003 20:28:15 +0000
Subject: RE: [PHP-ES] OTRA DUDA SOBRE CORREO EN PHP
Groups: php.general.es 
Request: Send a blank email to general-es+get-43092@lists.php.net to get a copy of this message
Gracias por esa parte ya quedo mi servidor solo que en una agina me sale este error: Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for fulano@fulano.com in D:\eLearning\lms\include\lib\atutor_mail.inc.php on line 19 Y mi código es este: <?php function atutor_mail($email, $subject, $body, $from, $bcc = '') { global $_base_href; global $_template; $atutor_sig = "\n\n".'----------------------------------------------'."\n"; $atutor_sig .= _AT('sent_via_atutor', $_base_href); $atutor_sig .= "\n"._AT('atutor_home').': http://atutor.ca'; $body .= $atutor_sig; mail($email, stripslashes($subject), stripslashes($body), 'From: '.$from."\n"."Reply-To:".$from."\nBcc: $bcc\nX-Mailer: PHP"); } ?> -----Mensaje original----- De: Aldo Quezada [mailto:aquezada@bsp-inspector.cl] Enviado el: Thursday, November 27, 2003 2:23 PM Para: lista@phpes.com Asunto: RE: [PHP-ES] OTRA DUDA SOBRE CORREO EN PHP siempre y cuando tengas tu smtp este en tu maquina >[mail function] >; For Win32 only. >SMTP = localhost ; for Win32 only SMPT= mail.yahoo.com SMTP= mail.hotmail.com SMTP= 127.0.0.1 depende de que proveedor de smtp tengas Saludos lista-unsubscribe@phpes.com --------------------------------------------------------------------- Archivo On-line: http://www.phpes.com/ via news: news://news.phpes.com/ Manual PHP en español: http://www.php.net/manual/es/ Para dar de baja la suscripción, mande un mensaje a: lista-unsubscribe@phpes.com

« previous php.general.es (#43092) next »