Send automated email with attachment post form submission


Can someone tell me what is the easiest way to send an automated email with attachments post internal form submission. Currently I only know to send the attachment images in the body of the mail.

How do I send a pdf or a jpeg as an attachment in such emails.