Thanks Tore. I did look, but don't have the certainty of your knowledge and thought donlagarde might be a mail processing server or list administrator. I'll try to get a message directly to him.
-----Original Message----- From: Tore Bostrup [mailto:tbostrup@;telocity.com] Sent: Tuesday, October 29, 2002 12:14 PM To: ActiveServerPages Subject: Re: LIST ADMIN! Msg rejection problem - what gives? If you take a closer look at the message, you will find that it is actually rejected by a list subscriber's mail server - Delivered-To: [EMAIL PROTECTED] Regards, Tore. ----- Original Message ----- From: "Sam Thompson" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Tuesday, October 29, 2002 11:30 AM Subject: Re: LIST ADMIN! Msg rejection problem - what gives? > me too! > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "ActiveServerPages" <[EMAIL PROTECTED]> > Sent: Tuesday, October 29, 2002 4:18 PM > Subject: RE: LIST ADMIN! Msg rejection problem - what gives? > > > > Yeah I've had the same problem. > > > > -----Original Message----- > > From: Chris [mailto:15seconds@;dracoassociates.com] > > Sent: Tuesday, October 29, 2002 11:26 AM > > To: ActiveServerPages > > Subject: LIST ADMIN! Msg rejection problem - what gives? > > > > > > Three messages posted to the list this morning have all appeared as > > they should and been reposted back to me. > > > > However each of the three has been followed by TWO messages like the > > one below. In this message, I have replaced all instances of the > > combination of i,n,t,m,- with "xxxx-" so that this message will make > > it onto the list. > > > > What gives? > > > > TIA > > > > -----Original Message----- > > From: Internet.com [mailto:xxxx-admin@;list.15seconds.com] > > Sent: Tuesday, October 29, 2002 9:42 AM > > To: [EMAIL PROTECTED] > > Subject: Message rejected > > > > > > Your message posting was rejected because the "<XXXX-" header was > > detected in the body of the message you sent. > > > > This header is usually only included by automated email programs, > > such as "vacation" programs. For this reason, Internet.com does not > > accept messages which contain this header, because it is highly > > likely that they are automated messages, and not appropriate for a > > mailing list. > > > > If you are receiving this message, it means that you accidentally > > set off this safeguard, by including the "<XXXX-" text in your > > message. > > > > Please resubmit your email message, without including the headers of > > a previous message (specifically, do not include the Message-Id > > line). > > > > --- > > > > For your convenience, the message is question is reproduced below: > > > > Return-Path: <[EMAIL PROTECTED]> > > Received: from lagardeinc01.lagardeinc ([65.16.26.43]) by > > xxxx-dl.sparklist.com with SMTP (Internet.com WIN32 version 5.1); > > Tue, 29 Oct 2002 07:41:37 -0700 > > Received: from lagardeinc01.lagardeinc (LAGARDEINC01 [10.10.10.150]) > > by lagardeinc01.lagardeinc with SMTP (Microsoft Exchange Internet > > Mail Service Version 5.5.2650.21) id VZ5SBBX0; Tue, 29 Oct 2002 > > 09:46:35 -0600 > > Received: by lagardeinc01.lagardeinc (Microsoft Exchange Connector > > for POP3 Mailboxes 4.50.2113) with SMTP (Global POP3 Download) id > > [EMAIL PROTECTED]; Tue, 29 Oct 2002 > > 09:46:04 -0600 > > Return-Path: <[EMAIL PROTECTED]> > > Delivered-To: [EMAIL PROTECTED] > > Received: (qmail 24013 invoked by uid 8002); 29 Oct 2002 15:37:57 > > -0000 > > Received: from unknown (HELO xxxx-dl.sparklist.com) (216.91.57.132) > > by relay.greensoft.com with SMTP; 29 Oct 2002 15:37:57 -0000 > > From: "Chris" <[EMAIL PROTECTED]> > > To: "ActiveServerPages" <[EMAIL PROTECTED]> > > Subject: RE: passing variable to function > > Date: Tue, 29 Oct 2002 10:28:58 -0500 > > Message-ID: > > <XXXX-77814-791069-2002.10.29-07.33.25--don#[EMAIL PROTECTED] > > om> > > MIME-Version: 1.0 > > Content-Type: text/plain; > > charset="us-ascii" > > Content-Transfer-Encoding: 7bit > > X-Priority: 3 (Normal) > > X-MSMail-Priority: Normal > > X-Mailer: Microsoft Outlook, Build 10.0.4024 > > In-Reply-To: > > <XXXX-77379-790867-2002.10.29-07.08.04--15seconds#dracoassociates.co > > m@li > > st.15seconds.com> > > Importance: Normal > > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > > List-Unsubscribe: > > <mailto:%%email.unsub%%> > > Reply-To: "ActiveServerPages" <[EMAIL PROTECTED]> > > > > > > Alexander, you're dealing with two people named Chris here. I sent > > you the code with the Select Case. > > > > The reason you place the ASP tags inside the client-side function is > > to tell the SERVER that you want it to execute the code contained > > within them. That code uses Select Case to determine the value of > > fieldstatus ON THE SERVER and then uses Response.Write ON THE SERVER > > to write out to the CLIENT page being constructed just the code that > > is required when fieldstatus matches one of a set of values. You > > seem to understand that ASP processing gets done once on the server > > - to create the page and send it to the client - and then subsequent > > processing happens on the client but maybe you're not following that > > thought all the way through. > > > > As an aside before explaining further, I noticed after I sent my > > advice that all three of your desired results whether fieldstatus is > > 1, 2 or 3 are the SAME as below. > > > > <% ' this is processed by server > > Select Case fieldstatus > > Case 1 > > Response.Write "window.IDfrm.IDradio2.disabled =true" > > Case 2 > > Response.Write "window.IDfrm.IDradio2.disabled =true" > > Case 3 > > Response.Write "window.IDfrm.IDradio2.disabled =true" > > Case Else > > ' whatever should happen if it's NOT 1,2,3!! > > End Select > > %> > > > > So here's another reason to use Select Case (aside from it being > > clearer to read and slightly faster). You can do this: > > > > <% ' this is processed by server > > Select Case fieldstatus > > Case 1,2,3 > > Response.Write "window.IDfrm.IDradio2.disabled =true" > > Case Else > > ' whatever should happen if it's NOT 1,2,3!! > > End Select > > %> > > > > The result of this code is that if the fieldstatus variable contains > > 1, 2, or 3, then your CLIENT page code will look like this: > > > > Sub LinkClick() > > Dim strDis > > msgbox "YOU CLIKED ME!!! I will now pass the parameters", 64, "HEY!" > > window.IDfrm.IDradio2.disabled =true End Sub > > > > Whereas if the fieldstatus variable does NOT contain 1, 2, or 3 then > > your CLIENT code will look like this: > > > > Sub LinkClick() > > Dim strDis > > msgbox "YOU CLIKED ME!!! I will now pass the parameters", 64, "HEY!" > > End Sub > > > > Note that the window disabled code is not written to the page at > > all, because fieldstatus was not 1,2,3. I say again, since > > fieldstatus is determined on the SERVER, then use it there to > > construct your client code appropriately instead of having your > > client (a) getting code it doesn't need in its page and (b) having > > the problem of getting your SERVER's value into the CLIENT's memory > > space. > > > > Clear now? > > > > > > -----Original Message----- > > From: Tsiris Alexandros [mailto:a.tsiris@;telesoft.gr] > > Sent: Tuesday, October 29, 2002 10:02 AM > > To: ActiveServerPages > > Subject: RE: passing variable to function > > > > > > > > > But it's not going to be manipulated much if you hardcode your > > > fieldstatus variable the way I showed you how... > > > > > > Chris Tifer > > > > > > Yes, I am looking over tyhe cose again, and it seems better with the > > case. > > > > However, I can't why you would place ASP tags in a function that's > > decalred under vbscript??? > > > > >From what I know, it works for variables, but I fdont think you can > > >actually > > have complete ASP tags and process them server side on this > > function. > > > > > > > > --- > > You are currently subscribed to activeserverpages as: > > [EMAIL PROTECTED] To unsubscribe send a blank email to > > %%email.unsub%% > > > > > > > > --- > > You are currently subscribed to activeserverpages as: > > [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% > > > > > > > > > > > > --- > > You are currently subscribed to activeserverpages as: > > [EMAIL PROTECTED] To unsubscribe send a blank email to > > %%email.unsub%% > > > > --- > > You are currently subscribed to activeserverpages as: > [EMAIL PROTECTED] > > To unsubscribe send a blank email to > %%email.unsub%% > > > > > --- > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% > --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
