title: Using Arrays in email template in Magento
body: <p>I am passing an array in template parameters in Magento's <code>sendNewOrderEmail</code> function as: <br></p>
  
  <pre><code>$mailer-&gt;setTemplateParams(array(
                  'order'        =&gt; $this,
                  'billing'      =&gt; $this-&gt;getBillingAddress(),
                  'payment_html' =&gt; $paymentBlockHtml,
                  'sa'           =&gt; $someArray  // This is an array
              )
          );
  </code></pre>
  
  <p>But I am not able to use the variable <code>sa</code> in the magento email template. I tried using it like <code>{{var sa}}</code> But in the email i get <code>Array</code> instead of the contents.
  How can I display contents of the array in the email.</p>