Mail system - WordPress

Hi, I wish to send an email with an attachment from WP. I wish to code a page which sends an email by the data given by the user, and ads attached the file to it. I know it out of the scope of your support but if I can get good advice, direction, or example that would be great.