Alıntı
<%
' change to address of your own SMTP server
strHost = "mail.elinkisp.com"


If Request("Send") <> "" Then
Set Mail = Server.CreateObject("Persits.MailSender")
' enter valid SMTP host
Mail.Host = strHost
Mail.From = "info@persits.com"
Mail.FromName = "Persits Software, Inc."
Mail.AddAddress Request("To")
' Attach two files in the same directory (any file type can be attached)
strPath = Server.MapPath(".")
Mail.AddAttachment strPath & "\ps_logo.gif"
Mail.AddAttachment strPath & "\wehave.gif"

' message subject
Mail.Subject = "Logo & Motto"
' message body
Mail.Body = "Persits Software logo and motto images are attached."
Mail.Send ' send message
Response.Write "Success!"
End If
%> <HTML>
<BODY BGCOLOR="#FFFFFF">
<FORM ACTION="Attachments.asp">
Enter email: <INPUT TYPE="TEXT" NAME="To">
<INPUT TYPE=SUBMIT NAME="Send" VALUE="Send">
</FORM>
</BODY>
</HTML>
Bu kodda koyu renkle işaretlediğim yerler dosya ekleme alanları. istediğin herhangi bir dosyayı yükleyebilirsn diyor ayrıca. ama senn istediğin server'daki sabit bir dosyayı değil kullanıcının yükleyeceği bir dosyayı maila attach etmek bunun için o dosyayı mailı postaladığın sayfada upload edip daaha sonrada yüklediğin adresin urlsini alıp mail göndermediki attach satırına tanımlamalısın.

Kolay gelsin.