Jump to content

Get the email body without the email footer


son.of.the.morning

Recommended Posts

What you guys consider the email "body" is only the top part of the body.  All the reply information is still part of the body.  It's up to you to parse it and hide it properly. 

 

son.of.moroning, please actually form a coherent question with maybe some example data or something other than "a problem exists." 

Link to comment
Share on other sites

This is pretty worthless topic anyway. When replying/forwarding an email, the *way* in which previous messages in the thread will be formatted/segregated is completely up to the email application. So, you could write some logic to work for one scenario but would break for others. Of course, you could start adding more logic for other scenarios as they are identified, but you'd have no guarantee that they would not change at some point. In fact, some applications put the previous email thread at the top of the new message rather than the bottom. Plus, you would have to contend with the different formats and logic conflicting with each other. And, all of this assumes that the user won't add some text to the message that would be interpreted as a delimited for previous messages.

Link to comment
Share on other sites

This is pretty worthless topic anyway. When replying/forwarding an email, the *way* in which previous messages in the thread will be formatted/segregated is completely up to the email application. So, you could write some logic to work for one scenario but would break for others. Of course, you could start adding more logic for other scenarios as they are identified, but you'd have no guarantee that they would not change at some point. In fact, some applications put the previous email thread at the top of the new message rather than the bottom. Plus, you would have to contend with the different formats and logic conflicting with each other. And, all of this assumes that the user won't add some text to the message that would be interpreted as a delimited for previous messages.

My friend Eirikr replies at the bottom of the thread instead of the top.  Game over.
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.