View Full Version : Mail not sending to E-Mail

08-22-2011, 05:34 PM

if request("aislem")="tamam" then
set runs=server.createobject("adodb.recordset")
runs.open "select* from uyeler where eposta='"&eposta&"'" ,baglanti,1,3

if runs.eof then%>
<p><img src="panel/images/button_cancel.gif" width="64" height="64"> </p>
<p class="style_kirmizi"><%=request("eposta")%> Niet gevonden in Database.</p>
<% else
Kime = request("eposta")
Konu = "Wachtwoord Herstel <"&request("eposta")&">"
Icerik = "Free Bet<br><br><br>E-mailadres: "&request("eposta")&"<br>Wachtwoord:<b> "&runs("sifre")&" </b><br><br>Verzonden Datum: "&now()&"<br><br>IP Adress: "&request.ServerVariables("REMOTE_ADDR")&"<br>"

Set Mail = Server.CreateObject("JMail.Message")
mail.Silent = True
mail.Logging = True

Mail.From = ayarlar("iletisim")
Mail.FromName =ayarlar("iletisim")

Mail.MailServerUserName = ayarlar("iletisim") ' g�nderen e-mail ile ayn� olmal�
Mail.MailServerPassword = ayarlar("sifre") ' e-mailinizin �ifresini giriniz

Mail.AddRecipient ""&kime&""

Mail.Subject = ""&konu&""
Mail.CharSet = "iso-8859-9"

Mail.Body = "<!--METADATA TYPE=""typelib"" UUID=""CD000000-8B95-11D1-82DB-00C04FB1625D"" NAME=""CDO for Windows Library"" --><!--METADATA TYPE=""typelib"" UUID=""00000205-0000-0010-8000-00AA006D2EA4"" NAME=""ADODB Type Library"" --><html><head><meta http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-9"" /><style type=""text/css""><!--.style1 { font-family:Calibri, Arial, Helvetica, sans-serif; font-size:14px;border:0; margin:0; padding:0;}--></style></head><body><span class=""style1"">"&icerik&"</span></body></html>"

On Error Resume Next
If Err <> 0 Then
Response.Write "Fout: " & Err.Description
response.write "<br><br><img src=""panel/images/button_ok.gif"" width=""64"" height=""64"">"
response.write "Uw wachtwoord is verstuurd naar uw E-mailadres."
End If
end if



this is code but it dont sent password to users e-mail. but give true answer "Uw wachtwoord is verstuurd naar uw E-mailadres"
its JMail

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum