Closed luixal closed 2 years ago
It's only populated if the message/server has it populated, it's not something that is automatically calculated by imap
.
Totally true. After investigation a little further I found that this field has to be populated by the client sending the email with the attached file but, according to what I've read, almost none does it by default.
I finally calculated it myself while streaming the attachment.
Thanks!
Hi,
I would like to get the md5 hash from attached files, but my attachment objects look like this:
the
md5
field is alwaysnull
. I'm connecting to an Outlook server via IMAP, not sure if it's related to server config.Any idea how can I get this field populated?
I've been looking around the docs for this, but haven't found any reference. If I missed something, please, just redirect me there :)
Thanks!