Closed (outdated)
Project:
Mail
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2007 at 14:52 UTC
Updated:
9 Aug 2016 at 10:04 UTC
Jump to comment: Most recent
I isolated the problem to the mail_send function.
The existing code does not work:
$email->Attachment($file->filepath, $file->filename)
This works:
$email->Attachment($file['filepath'], $file['filename'],false,"attachment", $file['filemime']);
Comments
Comment #1
zerolab commented