[Users] Zimbra development guide `Custom Milter` updated
Barry de Graaff
info at barrydegraaff.nl
Wed Mar 2 10:01:01 CET 2022
Hello All,
Just an FYI the Custom Milter guide is updated:
https://github.com/Zimbra/custom-milter
1. Adding required argument /message_from_binary_file/ this has to be
added because it is required since an update of Python last year.
https://docs.python.org/3/library/email.parser.html#email.message_from_binary_file
In a future version a default will be added, but as of now, calling
message_from_binary_file without policy will throw an error and not
work
https://docs.python.org/3/library/email.parser.html#email.parser.BytesFeedParser
2. Added some code to show how to iterate through attachments and how
to get attachment filename, type, extension, attachment data and
attachment object
Kind regards,
*Barry de Graaff*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zetalliance.org/pipermail/users_lists.zetalliance.org/attachments/20220302/fe45da86/attachment.html>
More information about the Users
mailing list