Welcome Guest, Not a member yet? Register   Sign In
Parsing Email Body For The Reply Text
#1

[eluser]mDonchev[/eluser]
Hello Guys,

I have set a pipe for a certain email to a CI method and I can get the email's properties.

However I need to get <b>just</b> the replied text from the whole email's body text.
Also I will need collect the attachments of the email (but avoid signature/template images) .

Can someone with experience share thoughts.

Will highly appreciate it.

Thanks
Martin
#2

[eluser]DarkManX[/eluser]
If you got all properties you should be able to parse the body for the reply. All the previous traffic should be taged in in some kind of container or follow certain pattern. Just delete this container on you will get the pure reply text. You always should be able to store the appached files with your given properties on your server and handle them however you want to.




Theme © iAndrew 2016 - Forum software by © MyBB