Thanks Chris, Dorgon and Esteban for putting me back on the track.
- Original Message -
From: "Chris Hayes" <[EMAIL PROTECTED]>
To: "Alberto Brea" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, June 24, 2003 4:34 PM
Subject: Re: [PHP] MSWord
throw file content in $filedata
$filedata = chunk_split(base64_encode($filedata));
$type = "application/octet-stream";
$encoding = "base64";
mt_srand((double)microtime()*100);
$boundary = '--b'.md5(uniqid(mt_rand())) . getmypid();
$mailbody = "From: PHP backup script by Arak
oops that was for downloading...
but anyway, the application/msword is worth a try
At 23:34 24-6-2003, you wrote:
At 22:57 24-6-2003, you wrote:
Dear list,
What header must I use to send a MSWord attachment with mail()?
I have looked it up in the manual and on php.net but cannot find it.
for a cvs
At 22:57 24-6-2003, you wrote:
Dear list,
What header must I use to send a MSWord attachment with mail()?
I have looked it up in the manual and on php.net but cannot find it.
for a cvs file aimed at excel i use
if (strstr($_SERVER["HTTP_USER_AGENT"],"MSIE 5.5")) {$att = "";} else {$att
= " attach
4 matches
Mail list logo