Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

March 27, 2008

Saving Email with Embedded Images to File or Database

Question:
Can an email with embedded images be stored ?
If so, what format. Are the embedded images stored separately or is the email stored as a whole (1 file or 1 binary string) ? Is storage in a database possible directly from memory or should we first save to disk ?

Answer:
The Chilkat.Email.GetMime() method returns the MIME source of an email. The MIME includes all embedded images, attachments, etc. It may be stored in a database, but the database field should be text and capable of handling strings of any size (certainly greater than the limits of a varchar field).


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.