title: How to send an attachment mail using wp_mail mail
body: <p>Is there anyone to tell me that how to send an attachment email using <code>wp_mail</code> function of wordpress?
  I am using the following code but its not working</p>
  
  <pre><code>$attachments = array(ABSPATH . '/uploads/abc.png');
  wp_mail($email, 'Testing Attachment' , 'This is subscription',$attachments);
  </code></pre>
  
  <p>Thanks</p>