title: PHPMailer unable to attach file using relative path
body: <p>The contact form I'm working on uses an option to select to upload an attachment through file upload or relative file path located on the server. The first option has no issues, but the second won't work and sends without attachment.</p>
  
  <p>I tried multiple combination but nothing seems working. How would I do this?</p>
  
  <pre><code>$mail-&gt;AddAttachment("cvs/test-docx_3094.docx", $name = 'test-docx_3094.docx', $encoding = 'base64', $type = 'application/octet-stream' );
  
  $mail-&gt;AddAttachment("cvs/test-docx_3094.docx");
  
  $mail-&gt;AddAttachment("http://mydomain.com/cvs/test-docx_3094.docx");
  </code></pre>
  
  <p>any input? Ive been working on this for so long, just cant get it done. </p>
  
  <p>PLMK.</p>