ASP Mail. E-mail ayarları vs ...?

blazedanger35

Doçent
Katılım
3 Nisan 2008
Mesajlar
609
Reaksiyon puanı
3
Puanları
0
Arkadaşlar elimde free bir template var. Kişisel sitemi free hosta attım ve mail için mailto... kodu yerine bunu kullanmak istiyorum.

Bu kod arasında nereleri değiştiriceğimi söyleyebilirmisiniz?

Kod:
<%
 for i=1 to 7
   message=Request("message")
 next
   message=message + Request("message") 
  smtpServer = "enter your SMTP SERVER HERE"
  smtpPort = 25
 
  name = Request("Your_Name:")
  Set myMail = CreateObject("CDO.Message") 
  myMail.Subject = "from " & name
  myMail.From = Request("Your_Email:")
  myMail.To = Request("recipient")
  myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
  myMail.Configuration.Fields.Item("[URL]http://schemas.microsoft.com/cdo/configuration/sendusing[/URL]") = 2
  myMail.Configuration.Fields.Item("[URL]http://schemas.microsoft.com/cdo/configuration/smtpserver[/URL]") = smtpServer
  myMail.Configuration.Fields.Item("[URL]http://schemas.microsoft.com/cdo/configuration/smtpserverport[/URL]") = smtpPort
  myMail.Configuration.Fields.Update 
  myMail.Send
 
%>

Anladığım kadarıyla;

Your_Name kısmına adımı;
SMTP server yerine hostum brinksterın adınımı numarasınımı (Brinkster'in kini bulamadım)
Your_Email kısmına adresimi aykut35@hotmail.co.uk hotmail desteklermi ve iki nokta üst üsteyi silicekmiyim?

Host asp destekli direk atsam olurmu?
Sanırım çok sordum ama uğraşanlar için kolay gelecektir.
Şimdiden Teşekkürler...:stuart:
 

berkay1212

Öğrenci
Katılım
6 Eylül 2008
Mesajlar
75
Reaksiyon puanı
0
Puanları
0
myMail.To = Request("recipient")
sanırım burada parantez içindeki bölüme yazacaksın e-maili
 

impresss

Öğrenci
Katılım
10 Eylül 2008
Mesajlar
6
Reaksiyon puanı
0
Puanları
0
smtpServer = "enter your SMTP SERVER HERE"


burayıda unutma
 
Üst