I'm using Mailman to pull e开发者_运维问答-mails from a POP3 server and process them. But, before processing, I want to ignore any attachments that they might have.
I'm looking everywhere to see if Mail supports this, but don't seems so. It looks like I can only see the attachments, but not remove them. Is it so? If yes, is there any workaround?
Thanks!
There is an open issue for this feature in the Mail issue tracker: #33.
You can try to use the suggested code and see if it works for you.
精彩评论