ImapBodyStructureFilename Property
Gets the filename of the MIME part.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public string Filename { get; }

Property Value

Type: String
The string containing the filename of the MIME part, or a null reference (Nothing in Visual Basic) if no filename is available.

MailBee obtains the filename from the value of "filename" parameter of DispositionParams.

As this can be empty or missing, you may use SafeFilename which is never empty and never contains symbols not allowed for filenames on the filesystem.

See Also