webForumDet fria alternativet

Hjälp med ändring av kod.

ASP

0 svar · 141 visningar · startad av Stig

Medlem sedan dec. 2001146 inlägg
Frågan#1

Hej. Jag behöver hjälp med att fixa CDonts kod till Jmail jag har asp dokumentet som ska ändras. Är en djävul på flash men en nolla när det gäller asp.

If Request("sms") = "" then
Response.Write "done=error" 'communication with the flash
Response.End
Else
Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.From = "" 'make this an address at your server or it might class the script as a spammer!
objCDO.To = "" 'your gateway address
objCDO.CC = "" 'backup email address (not needed)
objCDO.Subject = request("sms") 'plonk the message in!
objCDO.Body = ""
objCDO.Send 'now send the message and do the magic!!

response.Write ("done=done") 'Ok it went, so tell the flash it did...
End If
%>

247 ms totalt · 4 externa anrop · v20260731065814-full.86ec41c2
121 ms — deklarationer (db)
0 ms — hämta statistik (cache)
118 ms — hämta tråd, inlägg och bilagor (db)
126 ms — ändringar (db)