Name

em_format_is_attachment —

Synopsis

int em_format_is_attachment (emf,  
 part); 
EMFormat *  emf;
CamelMimePart *  part;

Arguments

emf

part

Part to check.

Description

Returns true if the part is an attachment.

A part is not considered an attachment if it is a multipart, or a text part with no filename. It is used to determine if an attachment header should be displayed for the part.

Content-Disposition is not checked.

Return value

TRUE/FALSE