Board index » delphi » Attachments

Attachments


2006-08-25 02:11:09 AM
delphi141
The email I have posted in the borland public attachments has a pdf file
attachment that Indy reads as a tIDText part instead of a TidAttachment.
Why is this the case? Thanks
 
 

Re:Attachments

Quote
The email I have posted in the borland public attachments has a pdf file
attachment that Indy reads as a tIDText part instead of a TidAttachment.
Why is this the case? Thanks
It has an invalid content type for the PDF part:
Quote
Content-Type: image/pdf
Should be one of the following:
Content-Type: application/octet-stream
Content-Type: application/pdf
I'm not sure why it is using TIdText for the message part though.
hth...
 

Re:Attachments

The customer can see the pdf attachment in outlook express so they want to
know why I cannot access it. Is there a possible workaround? Thanks
"Don Siders" <XXXX@XXXXX.COM>writes
Quote
>The email I have posted in the borland public attachments has a pdf file
>attachment that Indy reads as a tIDText part instead of a TidAttachment.
>Why is this the case? Thanks

It has an invalid content type for the PDF part:

>Content-Type: image/pdf

Should be one of the following:

Content-Type: application/octet-stream
Content-Type: application/pdf

I'm not sure why it is using TIdText for the message part though.

hth...