delphi - Does IdIMAP4.UIDRetrieveEnvelope get the entire message body? -


does idimap4.uidretrieveenvelope method retrieve entire message body or headers?

anything refers envelopes operates on headers, not on bodies. thus, (uid)retreiveenvelope() retrieves headers, , specific headers defined imap standard:

date subject sender reply-to cc bcc in-reply-to message-id 

to retrieve actual body content, need use (uid)retrievestructure() discover message's mime structure, use (uid)retrievepart...() or (uid)retrievetext...() retrieve content of individual body parts needed.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -