你能从IMAP获得附件文件名而不下载它们吗?

Is there a way to check if an email has an attachment, and just get the filename without downloading it? In PHP, imap_fetchstructure() downloads the attachment to check it. Can this be done in PHP or Python?