Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-22-2011, 05:34 PM   PM User | #1
2day2die
New to the CF scene

 
Join Date: Aug 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
2day2die is an unknown quantity at this point
Mail not sending to E-Mail

<%

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

if runs.eof then%>
</p>
<p><img src="panel/images/button_cancel.gif" width="64" height="64"> </p>
<p class="style_kirmizi"><%=request("eposta")%> Niet gevonden in Database.</p>
<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
Mail.Send("mail.freebet.nl")
If Err <> 0 Then
Response.Write "Fout: " & Err.Description
else
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

else

%>

--------------------------------------------------------------------
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
2day2die is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:38 PM.


Advertisement
Log in to turn off these ads.