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.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.