title: cURL Mail Attachment (Imagines, .exe file, .rar/.zip files)
body: <p>I was wondering if I can send different type of files to an email as an attachments. I only know how to send a text file using cUrl. Could someone give me some examples of how can I accomplish my goal ?</p>
  
  <p>This is what I have so far : </p>
  
  <pre><code>curl --url "smtps://smtp.gmail.com:465" --mail-from "mail.gaming@gmail.com" --mail-rcpt "mail2@gmail.com" --ssl --user "mail@gmail.com:password" --upload-file "C:\Folder\File.txt"
  </code></pre>
  
  <p><strong>Thank you for all the effort !</strong></p>