🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9101

Re: email y php

#9101
From: Xavier Montero
Date: Mon, 02 Sep 2002 21:03
25 lines
1680 bytes
> Warning: Failed to Connect in
> C:\apache\htdocs\pagina_email\fenviar_mail.php on line 2
> 
> Mis paginas son las siguientes:
> 
> fenviar_mail.php
> 
> <?
>   mail($txt_destinatario, $txt_asunto, $txt_mensaje, "From:
> $txt_remitente");
> ?>

A mi, ese mismo c�digo (copy/paste de las news, recomponiendo
el line-break que parti� el Netscape) me funciona perfectamente.

El mensaje no habla de sintaxis sino de "conexi�n". 

�Tienes un mailer puesto en el sistema? Es decir �puedes
ejecutar la orden mail desde la consola? Si es as�, �has
revisado si en el php.ini hay alguna directiva referente
al mailer? �Est�n bien los directorios? �Los permisos
de ejecuci�n?

Saludos!
Xavi.
Technical Details
Message-ID: <3D73D214.7F0AE56F@dsitelecom.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-97-61-212.uc.nombres.ttd.ES!not-for-mail
References: <3D73C3EF.57F7431E@menta.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,b2194784cb020a10
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-09-02 14:07:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-97-61-212.uc.nombres.ttd.ES!not-for-mail
From: Xavier Montero <xmontero@dsitelecom.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: email y php
Date: Mon, 02 Sep 2002 23:03:16 +0200
Organization: Digital Sound Items
Lines: 25
Message-ID: <3D73D214.7F0AE56F@dsitelecom.com>
References: <3D73C3EF.57F7431E@menta.net>
NNTP-Posting-Host: 213-97-61-212.uc.nombres.ttd.es (213.97.61.212)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1031000870 56144160 213.97.61.212 (16 [85345])
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en