Jump to content

IMAP HANDLING BOUNCES TOO BIG DUE TO INLINE IMAGES IN TEXT PART


paul133

Recommended Posts

Hello. After much searching I dont seem to be able to find anyone who has had this issue.

 

I am writing a bounce handler.

To get the bounced email of the original recipient I need to download the TEXT part of the bounced message.

 

The original message contained INLINE Images.

Many of the bounced messages are returned what appears to be the INLINE image embedded as text in the TEXT part of the email.

 

This means I am having to download TEXT parts which are many MB in size when all i need is about the first 1Kb to get the email address and status code.

 

Does anyone know if there is an IMAP  parameter/command that I can tell it to only download the first  NNN BYTES of the TEXT Part. 

 

I have seen this done using  FOPEN to read messages.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.