title: error in send email using Mandrill (php)
body: <p>I am using mandrill api for the first time. I am using following code.
  I have Mandrill API Key with me.</p>
  
  <pre><code> &lt;?php
      try {
          $mandrill = new Mandrill('YOUR_API_KEY');
          $message = array(
              'html' =&gt; '&lt;p&gt;Example HTML content&lt;/p&gt;',
              'text' =&gt; 'Example text content',
              'subject' =&gt; 'example subject',
              'from_email' =&gt; 'message.from_email@example.com',
              'from_name' =&gt; 'Example Name',
              'to' =&gt; array(
                  array(
                      'email' =&gt; 'recipient.email@example.com',
                      'name' =&gt; 'Recipient Name'
                  )
              ),
              'headers' =&gt; array('Reply-To' =&gt; 'message.reply@example.com'),
              'important' =&gt; false,
              'track_opens' =&gt; null,
              'track_clicks' =&gt; null,
              'auto_text' =&gt; null,
              'auto_html' =&gt; null,
              'inline_css' =&gt; null,
              'url_strip_qs' =&gt; null,
              'preserve_recipients' =&gt; null,
              'view_content_link' =&gt; null,
              'bcc_address' =&gt; 'message.bcc_address@example.com',
              'tracking_domain' =&gt; null,
              'signing_domain' =&gt; null,
              'return_path_domain' =&gt; null,
              'merge' =&gt; true,
              'global_merge_vars' =&gt; array(
                  array(
                      'name' =&gt; 'merge1',
                      'content' =&gt; 'merge1 content'
                  )
              ),
              'merge_vars' =&gt; array(
                  array(
                      'rcpt' =&gt; 'recipient.email@example.com',
                      'vars' =&gt; array(
                          array(
                              'name' =&gt; 'merge2',
                              'content' =&gt; 'merge2 content'
                          )
                      )
                  )
              ),
              'tags' =&gt; array('password-resets'),
              'subaccount' =&gt; 'customer-123',
              'google_analytics_domains' =&gt; array('example.com'),
              'google_analytics_campaign' =&gt; 'message.from_email@example.com',
              'metadata' =&gt; array('website' =&gt; 'www.example.com'),
              'recipient_metadata' =&gt; array(
                  array(
                      'rcpt' =&gt; 'recipient.email@example.com',
                      'values' =&gt; array('user_id' =&gt; 123456)
                  )
              ),
              'attachments' =&gt; array(
                  array(
                      'type' =&gt; 'text/plain',
                      'name' =&gt; 'myfile.txt',
                      'content' =&gt; 'ZXhhbXBsZSBmaWxl'
                  )
              ),
              'images' =&gt; array(
                  array(
                      'type' =&gt; 'image/png',
                      'name' =&gt; 'IMAGECID',
                      'content' =&gt; 'ZXhhbXBsZSBmaWxl'
                  )
              )
          );
          $async = false;
          $ip_pool = 'Main Pool';
          $send_at = 'example send_at';
          $result = $mandrill-&gt;messages-&gt;send($message, $async, $ip_pool, $send_at);
          print_r($result);
  
      } catch(Mandrill_Error $e) {
          echo 'A mandrill error occurred: ' . get_class($e) . ' - ' . $e-&gt;getMessage();
  
          throw $e;
      }
      ?&gt;
  </code></pre>
  
  <p>By using this code I am getting error as: </p>
  
  <p>A mandrill error occurred: Mandrill_HttpError - API call to messages/send failed: error setting certificate verify locations: CAfile: /usr/local/share/certs/ca-root-nss.crt CApath: none</p>
  
  <p>Why am I getting this error? </p>