Article View: es.comp.os.linux.programacion
Article #9126Re: email y php
From: Xavier Montero
Date: Tue, 03 Sep 2002 23:48
Date: Tue, 03 Sep 2002 23:48
34 lines
1735 bytes
1735 bytes
> [mail function] > SMTP = localhost ;for win32 only > sendmail_from = me@localhost.com ;for win32 only > ;sendmail_path = ;for unix only, may supply arguments as well (default > is 'sendmail -t -i') Prueba de quitar el punto y coma de delante de sendmail_path y a��dele lo que pueda tocar, as�: Hazte root y averigua el path, en mi caso: inspire:~# which sendmail /usr/sbin/sendmail Luego cambia: ;sendmail_path = por sendmail_path = /usr/sbin/sendmail -t -i y reinicia el apache as�: /etc/init.d/apache restart � /etc/init.d/httpd restart � como toque. Luego prueba de nuevo la funci�n mail() desde php a ver si ahora se entiende con el sendmail. Saludos! Xavi.
Technical Details
Message-ID:
<3D754A51.23B98785@dsitelecom.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!151.189.0.75!newsfeed.arcor-online.net!fu-berlin.de!uni-berlin.de!213-97-61-212.uc.nombres.ttd.ES!not-for-mailReferences:
<3D73C3EF.57F7431E@menta.net> <3D7509BC.5F6133C9@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-03 16:53:09 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!151.189.0.75!newsfeed.arcor-online.net!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: Wed, 04 Sep 2002 01:48:33 +0200 Organization: Digital Sound Items Lines: 34 Message-ID: <3D754A51.23B98785@dsitelecom.com> References: <3D73C3EF.57F7431E@menta.net> <3D7509BC.5F6133C9@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 1031097187 56698981 213.97.61.212 (16 [85345]) X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en