i tried to give an exciting title to hopefully lure all the smarties in here to help out...
On a project tracking application...
Emails are automatically sent to all project members when an individual member uploads a file or adds a comment. The user who recieves the message can send a reply message via email, that will post a follow-up comment that's attached to either the file uploaded or general comments.
The message comes in with an identifier within the subject line so, as long as they don't delete the subject - it writes to the database just fine. (if they remove the identifier - triggers and error and they get a notification email.)
All works fine now -- only thing is, unless I make the users put some delimiter at the end of their reply, all the original email's text is in there too.
I want it to be as simple as possible for the end user so would prefer to not have any directions for them - just reply and send. Problem is -- some emails have the "----Original Email----" w/ the headers, some have just the original email body, some have nothing... Seems like it's all mainly user preferences within their own email clients...
The Challenge... is there any way of extracting only the new 'reply' text ??
Is there any hidden stuff within the headers ??
...or something I can add to the headers??