feat(search): add advanced attachment filters for extension, category and mime type

This commit is contained in:
rustmailer
2026-03-19 20:23:20 +08:00
parent 884fdeba10
commit c19f3977ba
31 changed files with 466 additions and 40 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ fn extract_envelope_core(
)
})
.unwrap_or_else(|| "application/octet-stream".to_string());
//注意:有些附件是没有名字的,这样extension也就不存在,那么在获取附件的时候,就不能通过name定位
Some(AttachmentInfo {
filename: attachment
.attachment_name()