skitchen Posted June 26, 2011 Share Posted June 26, 2011 Hello I have a script which reads an email received and posts the email to a db together with any attachments etc. What I want to do though is read the email and be able to just pick up the actual response so that I can seperate it. For example, when you reply to the email sent, the entire history trail will be read by the script if its included on the message so all this will be picked up. I don't need all of this, I just need the actual latest reply to the email but I'm not sure how to go about doing this and haven't been able to find any examples either. I hope this makes sense and would appreciate any help if somebody knows how to do this? Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/240448-reading-reply-to-email-in-php/ Share on other sites More sharing options...
mikesta707 Posted June 26, 2011 Share Posted June 26, 2011 It would depend heavily on how your email client separates the actual replies from reply chains. Do you have an example email or at least the format at which they are read. Quote Link to comment https://forums.phpfreaks.com/topic/240448-reading-reply-to-email-in-php/#findComment-1235026 Share on other sites More sharing options...
skitchen Posted June 26, 2011 Author Share Posted June 26, 2011 Hi Well, based on your post, I suspect this may then be a problem as the emails come from pretty much any email provider. Regards Quote Link to comment https://forums.phpfreaks.com/topic/240448-reading-reply-to-email-in-php/#findComment-1235029 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.