| |
| |
| |
|
Page: 1 2 3
Comments:
<0> Hey guys, anyone around who knows a little about sending mail with CDO? <0> I want to add line breaks, but HTML doesn't seem to be supported. <1> html IS supported <1> line breaks are vbCrLf for VBScript or \n for jscript <1> though, when you say CDO... that's a bit vague, CDONTS (NT4) vs. CDOSYS (Win2000+) <2> I want to learn asp like neo learned drunken boxing <2> but I'm fresh out of blue pills <1> learn asp.net <2> well, at this stage I need to learn asp cl***ic to secure my job interview tomorrow ;) <1> ahh, you again <2> howdy :) <1> well... what do you need to know? <2> I'm less clueless today by a factor of about seven <2> actually I'm doing ok for now <1> k, you need to know about the built-in objects
<2> I just wanted to chip in :) <1> can you list them at the top of your head? <2> hah <2> of course not <1> request, response... those you know of? <1> that's the essence <2> yeah, those I have a grasp of <1> and session, application, asperror <2> I have the insrt to db / list records / view record detal stuff down now <2> I'm gonna throw up a quick session and get/post thing <2> and a cookie thing <2> and that's all I _need_ to achieve <2> the rest is just bonus <1> and the last one's called? :p <2> geoffrey ? <1> Server <2> no, wait <2> paul! <2> :) <1> Sir Ver <1> hah <2> I'm picking up as I go. I'm not expecting to retain the information all at once, but if i can progress quickly enough with a reference the rest will fall into place <2> asp isn't the most difficult syntax I've seen <1> once you know of those objects and more or less what each one can do for you, all you need is a reference <2> little bit too simplistic in some ways, like the english language operators <1> also, you need to know that ASP itself isn't a language <2> yeah, I mean vbscript in this case <1> and if you're able to create and understand concatenated strings with embedded client script w/strings in them, you'll be fine :) <2> yeah, I'm finding it odd getting used to & as a concatenator <2> and what's with 1+2 making 12 ? <2> I never did work out why, I just fixed it with something <0> Sorry mac <1> well... that's only if they're strings :) <0> Forgot to check the IRC window <2> Function add(a, b) <2> add = int(a)+int(b) <2> that did it <1> apathy-: CInt i believe <2> but without type casting + concatenated <0> Umm, I'm using CDO, not CDOSYS or CDONTS <2> which is gay :) <1> if the params a and b are both numeric, it will work <2> num = add(request.querystring("num"), request.querystring("modifier")) <2> I suppose they are strings <1> and that's only results of numeric functions and hardcoded numbers <2> php's type definition is a lot more loose <1> yes all querystring stuff is string <2> if it's numeric it'll work as an into or a string <2> (in php that is) <1> yes, that's the same as in ecmascript <2> if(12 == "12") { //true <2> we have a strict comparison operator <2> === <2> to check type and value <1> as with ecmascript again ;) <2> crazy :) <2> anyway, back to key-bashing <1> nobody's stopping you from using JScript in ASP though :) <2> it's 13:15 and I wanna sleep :) <2> I _hate_ javascript <1> 00:17 here :(
<2> er, s/13/23 <0> Mac- This is our code: http://pastebin.com/773562 <1> it's closer to php :) <1> combatfil: use .HTMLBody = "<html><body>blaaaah</body></html>" <0> so, instead of objMessage.TextBody =mailbody <1> you would have found that if you bothered to look into the CDO.Message documentation <0> It would be objMessage.HTMLBody =mailbody <0> right? <1> yup <0> Ok cool, actually I did google it, couldn't find any results, keep in mind I am an absolute n00b at ASP <0> :P thanks for the help <1> well... if you couldn't find results... then i'm deeply shocked <0> I found plenty, just didn't understand any <1> www.google.com/?q=CDO.Message <1> ahhh missing something ;) <1> http://www.google.no/search?q=CDO.Message <1> FIRST HIT <1> how you could overlook that is beyond me <0> lol <0> Sorry, well thanks for the help <1> if you need info on a certain COM Object, using the object string is usually a good idea <0> I was doing something like "form email cdo" <1> instead of "sending mail from asp" <1> yeah <0> lol <0> w00t it worked thanks <0> Have you by chance ever worked with Snitz/> <1> neh, what's that? <0> asp forum script <0> I'm looking to get it so that when someone signs up for the forum they also automatically are added to our email list, but I haven't a clue where to begin. I don't know whether it would be simple or something to contract someone for <1> you need to find the part of the script doing the registering <2> how do I refernence the current page name including query string ? <2> oh, actually, nm <2> request.servervariables <2> :D <0> Mac- I found the file register.asp which does the registering. I'm not sure where to look tho, it's a 900-liner <2> is there a ternary operator in asp ? <2> var = condition ? true : false; <1> apathy-: don't think so, and it's VBScript thank you :D <2> my bad ;) <1> however, switching to JScript, there is :D <2> I find asp^H^H^H vbscript very lacking in core funtionaltiy <2> there's no var dump functionality <1> :) <2> what do you reckon Mac, I've been at vbscript for about 5 cumulative hours now I think. I can do get/post/cookie (and i ***ume session too ;) ), I can perform create/read/update/delete operation on a database <2> and I'm about to learn email sending I reckon <2> does that sound like alright progress ? <0> Mac- do you think you could tell me what's wrong with this syntax? I've got an error. This is part of my forum http://pastebin.com/773579 I think I have a carriage return somewhere it shouldn't be but I don't know what they look like in asp and I don't know what to remove :/ <3> MUUAHHHH <0> ? <2> do I need to do anything to cause the session to be enabled ? <2> I appear to be losing changes between pageviews <2> ah <2> or does <2> If Request.QueryString("debug") = 0 Then <2> equate 0 to "" <2> hm, I gues snot <2> does an asp session not rely on cookies ? <2> if I don't start getting answers soon I'll cut my subscription, I don't really feel I'm getting what I paid for here <2> Elfkin told me that if I paid him that $250 then I'd get all the help I need <0> apathy-Irc is free..you shouldn't pay anything to be in here. <2> what are you saying ? <2> that I've been ripped off ? <1> haha <1> apathy-: asp sessions rely on cookies, yes <2> seriously, Elfkin said he'd send me a receipt and everything <1> in fact i can't image any other way <2> that's why he needed my card number and address <2> Mac-: I thought so, cookies don't' appear to be getting set <2> http://pete.soapmedia.co.uk/email_insert.asp <2> click enable debug <2> there's no cookie shown <2> which would explain the session data loss between pages <1> sure there is: HTTP_COOKIE: ASPSESSIONIDASDACCTT=NEKFKCKBCLMIGFKPGLKCFMJN
Return to
#asp or Go to some related
logs:
#beginner kirby puckket #linux-noob #gentoo #heroin #windows smfi_main: terminating due to error #linux-noob #fedora custom built phase change cooler
|
|