🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

php y email

#11804
From: [ ZaToPeK]
Date: Sun, 07 Oct 2001 17:30
20 lines
1451 bytes
hola tengo este codigo que os pongo abajo pero no consigo que meponga bien
el from an las cabeceras del email.
Que le retocariais?
que le falta?
muchas gracias por vuestra ayuda.


<?
$ToEmail = "direccion_email_destinatario";
$ToSubject = "Solicitud de Informaci�n";
$EmailFooter="\nEste mensaje ha sido enviado por: $nombre de
$REMOTE_ADDR.\nSi has recibido este mensaje por error ponte en contacto con
";
$Message = "Hola a todos";
if(mail($ToEmail ,$ToSubject, $Message,"From: $email")){
Print "_level1.EmailStatus=Email enviado";
}else{
Print "_level1.EmailStatus=Error";
}
?>
Technical Details
Message-ID: <9pq3i1$k1b50$1@ID-59646.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!eu73-97.clientes.euskaltel.ES!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,5ac1e38b5d0b2ba6,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-10-07 10:31:48 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!eu73-97.clientes.euskaltel.ES!not-for-mail
From: "[ ZaToPeK]" <boli@mailexcite.com>
Newsgroups: es.comp.os.linux.programacion
Subject: php y email
Date: Sun, 7 Oct 2001 19:30:00 +0200
Lines: 22
Message-ID: <9pq3i1$k1b50$1@ID-59646.news.dfncis.de>
NNTP-Posting-Host: eu73-97.clientes.euskaltel.es (212.8.73.97)
X-Trace: fu-berlin.de 1002475906 21015712 212.8.73.97 (16 [59646])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200