Part.isAttachment
bool isAttachment() nothrowDetermines 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() nothrowDetermines whether or not the part is an attachment based on the value of the Content-Disposition header.