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
Post a Comment