title: wp_mail attachements does not work
body: <p>I tried to use wp_mail with attachments, but I cannot receive any attachments. Please help</p>
  
  <pre><code>$attachments = get_user_meta($userID, 'resume_pdf', true);
  
  if ($attachments != '') {
    wp_mail($to,$subject,$msg,$headers,$attachments);
    $msg .= '&lt;br&gt;&lt;br&gt;' . $attachments;
  } else{
    wp_mail($to,$subject,$msg,$headers);
  }
  </code></pre>
  
  <p>what saved as resume_pdf is something like this:
  <a href="http://aiprojectlink.com/wp-content/uploads/userpro/1/560387d6eaa3b.pdf" rel="nofollow">http://aiprojectlink.com/wp-content/uploads/userpro/1/560387d6eaa3b.pdf</a></p>
  
  <p>I think it should be the full path, I can open the link directly by clicking it, but there is no attachment.
  Please help, thank you.</p>