Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI Friends

I have to write a windows service where i have to send emails out with video files as attachments. The size of files on the server is between 10 to 20 MB which will be blocked on many companies email because of file size restrictions.

Can any one suggest a dll or componant that can use to compress videofiles. The file format of all the files on y server is MPG.

Thanks
Posted
Comments
Andy411 4-May-12 8:24am    
You know that MPG is a compressed format? So further compression might be without effect.
What's about sending only a link to the videos?

1 solution

Yes.
As andy said it is waste of time to compress it once again the files. But you can use the GZip or deflate stream from System.IO namespace to compress and then split the files in to 5 MB like parts. Then try attaching each file with the mail and send it. If you go with GZip then Winzip will be enough unpack your mail attachments.

GoodLuck.
 
Share this answer
 

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



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