%
'******************************
'alici adresi buraya giriniz...
strHost = "mail.benseno.com.tr"
Session.CodePage = 65001 ' UTF-8 code
Set Upload = Server.CreateObject("Persits.Upload")
Upload.CodePage = 65001
Upload.IgnoreNoPost = True
strPath = Server.MapPath(".")
Upload.Save strPath & "\temp"
msg_txt = "binom.com - İş Başvurusu. Detayları aşağıda bulabilirsiniz.
"
msg_txt = msg_txt & "Ad Soyad : "& Upload.Form("name")
msg_txt = msg_txt & "
Cinsiyet : "&Upload.Form("cinsiyet")&"
"
msg_txt = msg_txt & "
Yaş : "&Upload.Form("age")&"
"
msg_txt = msg_txt & "
Eğitim Durumu : "&Upload.Form("edu")&"
"
msg_txt = msg_txt & "
Ev Telefonu : "&Upload.Form("tel")&"
"
msg_txt = msg_txt & "
Cep Telefonu : "&Upload.Form("tel-cep")&"
"
msg_txt = msg_txt & "
E-Posta : "&Upload.Form("email")&"
"
msg_txt = msg_txt & "
İlçe : "&Upload.Form("ilce")&"
"
msg_txt = msg_txt & "
İl : "&Upload.Form("il")&"
"
msg_txt = msg_txt & "
Cv ektedir.
Bu mesajı lütfen cevaplamayınız...
"
' We cannot use Upload.Form or Upload.Files until Upload.Save is called.
If Upload.Form("Send") <> "" Then
emailim="binomara@gmail.com"
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "localhost"
Mail.From = emailim
Mail.FromName = " Binom İs Basvuru Formu"
Mail.AddAddress emailim
Mail.Subject = "Binom is Basvuru Formu"
Mail.IsHTML = True
Mail.Body = msg_txt
On Error Resume Next
' Handle attached file via Upload.Files collection.
' Check if a file was ineed uploaded
If Not Upload.Files("cv") Is Nothing Then
Mail.AddAttachment Upload.Files("cv").Path
End If
' We are done. Send message
Mail.Send
Response.Write ""
End If
%>