Re: Archivos adjuntos en mail()
| From: | Pablo E. Siciliano | Date: | Tue, 19 Aug 2003 18:42:05 +0000 |
| Subject: | Re: Archivos adjuntos en mail() | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-39529@lists.php.net to get a copy of this message | ||
Fijate si algo así no funciona (Lo escribí directamente en el mail, pero lo
hice varias veces.)
$arch=fopen("/miarchivo.txt","r");
mail("direccion@host.com","Asunto",fread($arch,filesize("/miarchivo.txt")),"
Content-Disposition: attachment");
fclose($arch);
----- Original Message -----
From: "auron2003" <auron2003@wwwpuntocom.com>
To: <lista@phpes.com>
Sent: Tuesday, August 19, 2003 3:16 PM
Subject: [PHP-ES] Archivos adjuntos en mail()
Hola,
Se puede enviar por la funcion mail() archivos adjunto, si se puede como lo
hago?¿.
----------------------------------------------------------
Descubre todos mis programas y mis juegos en:
http://auron2003.webcindario.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/03