I want to send email use winsock control ,and how can I attach file ?

Thanks