isola 1 Posted September 2, 2023 Delphi 11, Indy: TIdSMTP, TIdPOP3 There are two apps : mail sender and mail receiver. app sender (single attachment): for i := 0 to High(FMailInfo.MailPoint.mpAttachments) do TIdAttachmentFile.Create(IdMessage.MessageParts, FMailInfo.MailPoint.mpAttachments[i]); IdMessage.ContentType := 'multipart/mixed'; app receiver: IdMessage.MessageParts.Count is 0 raw message headers on server side: Content-Type: multipart/mixed; charset=UTF-8; boundary= ........... MIME-Version: 1.0 I see sent message in browser and can download the attachment. Can somebody explain what is wrong in the code? Why attachment is inaccessible for my receiver app? Content type? Thanks. Share this post Link to post
isola 1 Posted September 2, 2023 Sorry, it is my carelessness.( I used IdPOP3.RetrieveHeader() instead IdPOP3.Retrieve() Please, close the topic 1 Share this post Link to post