Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
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.
Posted

1 solution

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[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900