title: PHP send mail to Excel list
body: <p>I have a long Excel list which holds user names, mail addresses and a PIN number. I want to generate an auto mail like "Dear <code>$name</code>, your PIN is <code>$pin</code>" and send to <code>$mail</code> where <code>$name</code>, <code>$mail</code>, and <code>$pin</code> variables will come from an excel file..(there are three columns)</p>
  
  <p>Can any one please share any idea or sample code? </p>
  
  <p><strong>EDIT For bounty</strong>
  Here's a screen print of my csv file.  I want to read data as two dimensional array from csv file and populate an email.</p>
  
  <p><img src="https://i.stack.imgur.com/JRuo1.png" alt="my csv file"></p>