MimePart.FileName (gb.mime)

Property FileName As String

Returns the file name of the attachment as defined by the Content-Disposition header. NULL if it is not set.