Part.isAttachment
bool isAttachment()Determines whether or not the part is an attachment based on the value of the Content-Disposition header.
Returns
true if the part is an attachment, otherwise false.
bool isAttachment()Determines whether or not the part is an attachment based on the value of the Content-Disposition header.