title: Read Email and save data to database in PHP
body: <p>I have a requirement, according to that I need to read mail(which will be in specified format). The email would be basically in a format it includes some fields information like:</p>
  
  <pre><code>Name: xyz
  Zip: 33402
  </code></pre>
  
  <p>Now what we need to do is to save "Name" in 'name' column and "Zip" in 'zip' column of database table.</p>
  
  <p>I can read mail via IMAP through PHP script and can fetch "BODY", But I need help to find out way so that I can read the fields.</p>
  
  <p>Please share any way/option of yours to do it. </p>