Hi guys, I want to extract email messages using php and insert them into my sql. I used this script http://www.weberdev.com/get_example-4015.html It works BUT, instead of getting just the subject line and the body, I got tons of other fields that were not related like [17] => h=Message-ID:X-YMail-OSG:Received:X-Mailerate:From:Subject:To:MIME-Version:Content-Type; [18] => b=37JwJRXx1CsFsNIbviCsViSmJHNBhOE1ed/dSh1qO9YnZQZgoFaqLDyTepInVY/gdPVWOOCF3hxc1Pmn+NVwmFpUifWXYih8L6728jkA0JRMo+YBTwdzqNr6XskF55xTL+zVWcSsv9fPSk3FFYVjeX6SvrTpqSLM5bZLB+YrTI8=; Any idea how to extract only from, date, subject and body into mysql?? THanks!
but the fields changes from server to server. I don't know how to catch only the fields that I want. Any ideas?