Hi
I am trying to separate contents within an incoming email.
Whenever the user receives and email with a marker line (### Reply above this line to append to the ticket ###) and if he clicks reply to this email the reply area starts with
On Apr 22, 2010, at 11:22 AM, Test wrote:
Reply above this line to append to the ticket ###
Now when PHP script find the string (### Reply above this line to append to the ticket ###) and cut the mail into two parts and uses the first one which has in this example On Apr 22, 2010, at 11:22 AM, Test wrote: along with unclosed < blockquote > and < div > tags.
How can i remove the content in such a manner where i can use the content above the "On Apr 22, 2010, at 11:22 AM, Test wrote:" line.
Any help, anyone who has tried this earlier.
thank you.