hey there,
I have not been able to get my script to download
an attachment but I have been able to get the name
here is how I did it
$attach=imap_fetchstructure($link, $num);
$attachment=$attach->parts;
while (list ($key, $val) = each ($attachment)) {
echo "$val";
echo "<br>";
echo "$val->bytes";
$dis=$val->parameters;
while (list ($key, $val) = each ($dis)) {
echo "$val->value";
echo "<br>";
}
the echo "$val->value is the attachment name.
can you give me some in sight on how you are able
to download your attachments..
--Thomas