MAIL -> boolean delattach ( [ string name ] )
Return TRUE if has been successfully deleted, FALSE if not.
By default, all attachments will be deleted if the parameter name it's not provided.
$m = new MAIL;
// add attachment
$m->Attach('text content', 'text/plain', 'filename.txt');
// delete attachment
// delete all attachments
See Also: MAIL->Attach()
[ Comments ]
Last update: Friday, June 15, 2007