我不希望POP3附件与我的MIME消息一起下载 [英] I not want POP3 attachments to download with my MIME message

查看:102
本文介绍了我不希望POP3附件与我的MIME消息一起下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

电子邮件中的附件很大,我只对电子邮件正文感兴趣,不希望下载附件.我尝试了一些开源c#POP3库.我还尝试了MIME库.

请提供一些解决方案.

Attachment size in my emails is big and I am interested only in email body and not want to download attachments. I tried some open source c# POP3 libraries. I also tried MIME libraries.

Please guide some solution.

推荐答案

电子邮件是一个包含文本正文和附件(以base64编码的字符串形式)的单个文件,下载部分消息的唯一方法是通过使用TOP命令(我从未见过POP3库使用过此命令),另一种方法是修改消息下载代码,以仅下载一定数量(例如3-4KB),然后中止下载.

POP3命令列表以供参考 [
Emails are a single file which contain the text body and the attachments as base64 encoded strings, the only way to download part of the message is by using the TOP command, which I have no seen used by POP3 libraries, another way would be to modify the message download code to only download a certain amount such as 3-4KB before aborting the download.

List of POP3 commands for reference[^]


这篇关于我不希望POP3附件与我的MIME消息一起下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆