开发者

How to remove attachments from received mail in ActionMailer?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜