title: Emailing attachments using SMTP server
body: <p>I am a little confused about how it works sending emails using an external SMTP server with attachments.</p>
  
  <p>Let's say I have a contact form on my website which allows attachments uploads, and I use an external SMTP server, such as Amazon SES or Gmail. </p>
  
  <p>Does the file need to be first uploaded to my server, and then I point the email attachment to that filepath, or does it get converted to base64 and sent within the body of the SMTP?</p>
  
  <p><strong><em>Question:</em></strong> Does the file get sent directly or does it first need to be uploaded to my server?</p>