Forum » Programiranje » CDONTS in javascript
CDONTS in javascript
kopernik ::
Še nikoli slišal. Kaj pravzaprav so CDONTS ?
Aha, sem že našel.
"CDONTS is a Simple Mail Transfer Protocol (SMTP) specific OLE server that is specifically designed to provide Messaging functionality to Web-based applications.
In non-Microsoftese, that means CDONTS is something that acts as the middleman between your web page and the SMTP server, enabling communication that will allow you to send data from the web (like our form) to someone via email."
Mislim, da je odgovor na tvoje vprašanje NE.
Aha, sem že našel.
"CDONTS is a Simple Mail Transfer Protocol (SMTP) specific OLE server that is specifically designed to provide Messaging functionality to Web-based applications.
In non-Microsoftese, that means CDONTS is something that acts as the middleman between your web page and the SMTP server, enabling communication that will allow you to send data from the web (like our form) to someone via email."
Mislim, da je odgovor na tvoje vprašanje NE.
Zgodovina sprememb…
- spremenil: kopernik ()
Jakob_X ::
da se...ce delas server side javascript :)
ali pa kaksen xmlRequest ampak se vedno rabis neko server side funkcionalnost odzadaj
ali pa kaksen xmlRequest ampak se vedno rabis neko server side funkcionalnost odzadaj
sp4yk ::
saj delam server side...
pa sej ni problema, bom naredu v vb scriptu. ampak zanimalo me pa je, ker nisem nikjer zasledil v javascriptu
pa sej ni problema, bom naredu v vb scriptu. ampak zanimalo me pa je, ker nisem nikjer zasledil v javascriptu
Zgodovina sprememb…
- spremenil: sp4yk ()
sp4yk ::
na serverju mam asp (VB script in JS) ter CDONTS za razpošiljanje mejlov. zanima pa me ali je se da tole kodo spremenit v JS tako da bo delovalo.
Dim MyBody
Dim MyCDONTSMail
Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
MyCDONTSMail.From= "somebody@nowhere.com"
MyCDONTSMail.To= "nobody@nowhere.com"
MyCDONTSMail.Subject="This is a Test"
MyBody = "Thank you for ordering that stuff" & vbCrLf
MyBody = MyBody & "We appreciate your business" & vbCrLf
MyBody = MyBody & "Your stuff will arrive within 7 business days"
MyCDONTSMail.Body= MyBody
MyCDONTSMail.Send
set MyCDONTSMail=nothing
Dim MyBody
Dim MyCDONTSMail
Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
MyCDONTSMail.From= "somebody@nowhere.com"
MyCDONTSMail.To= "nobody@nowhere.com"
MyCDONTSMail.Subject="This is a Test"
MyBody = "Thank you for ordering that stuff" & vbCrLf
MyBody = MyBody & "We appreciate your business" & vbCrLf
MyBody = MyBody & "Your stuff will arrive within 7 business days"
MyCDONTSMail.Body= MyBody
MyCDONTSMail.Send
set MyCDONTSMail=nothing
Jakob_X ::
probi kej tazga..ne da se mi prevert ce tole deluje ampak kaksnih posebnih sprememb ti sploh ni treba delat :)
Na vrhu strani ne pozabi specificirat da je skriptni jezik javascript, ker po defaultu je vbscript
Var MyCDONTSMail = Server.CreateObject("CDONTS.NewMail");
MyCDONTSMail.From= "somebody@nowhere.com";
MyCDONTSMail.To= "nobody@nowhere.com";
MyCDONTSMail.Subject="This is a Test";
Var MyBody = "Thank you for ordering that stuff\n";
MyBody = MyBody + "We appreciate your business\n";
MyBody = MyBody + "Your stuff will arrive within 7 business days\n";
MyCDONTSMail.Body= MyBody;
MyCDONTSMail.Send();
MyCDONTSMail=nothing;
Na vrhu strani ne pozabi specificirat da je skriptni jezik javascript, ker po defaultu je vbscript
Var MyCDONTSMail = Server.CreateObject("CDONTS.NewMail");
MyCDONTSMail.From= "somebody@nowhere.com";
MyCDONTSMail.To= "nobody@nowhere.com";
MyCDONTSMail.Subject="This is a Test";
Var MyBody = "Thank you for ordering that stuff\n";
MyBody = MyBody + "We appreciate your business\n";
MyBody = MyBody + "Your stuff will arrive within 7 business days\n";
MyCDONTSMail.Body= MyBody;
MyCDONTSMail.Send();
MyCDONTSMail=nothing;
sp4yk ::
ga imam:
var mail = Server.CreateObject("CDONTS.NewMail");
mail.from = "webmaster@smt.net";
mail.to = "me@smt.com";
mail.subject = "test";
mail.body = "testno sporocilo";
mail.send();
mail = null;
hvala vsem!
var mail = Server.CreateObject("CDONTS.NewMail");
mail.from = "webmaster@smt.net";
mail.to = "me@smt.com";
mail.subject = "test";
mail.body = "testno sporocilo";
mail.send();
mail = null;
hvala vsem!
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Visual BasicOddelek: Programiranje | 3432 (2458) | cekr |
» | Spletna stran ASPOddelek: Izdelava spletišč | 1447 (1208) | inferno666 |
» | [LINUX] Pošiljanje mailaOddelek: Operacijski sistemi | 2045 (1922) | 'FireSTORM' |
» | HTML formOddelek: Izdelava spletišč | 1432 (1309) | mte |
» | XP profesional in IISOddelek: Izdelava spletišč | 1100 (965) | alesrosina |