Argh.....screw that...I need an easier option! :)

Hehe!



> -----Original Message-----
> From: Rich Wild [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, September 12, 2002 3:17 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] Multi-part (HTML + Plain Text) Emails - LONG
> 
> 
> the cfmx code analyser returns this info on the advancedemail and
> advancedemailparam files:
> 
> REFINDNOCASE     Info   
> In CF5 a regular expression with a leading quantifier (?+*), such as
> reFind("*", "abc"), would always match. In CFMX quantifiers 
> must follow
> something in the expression. 
>  
>  
>   How to Fix  
> Remove the unnecessary leading quantifier. 
>  
>  
>   E:\Downloads\advancedemail.cfm   Line 269   
>     ......
> 268:    while (loop1 IS NOT 1) {
> 269:          FindResultsArray =
> REFindNoCase("src=""[^""]+""",request.AdvancedEmail.HTMLText,S
> tartValue,"TRU
> E");
> 270:          if (FindResultsArray.pos[1] IS 0) break;
> 
> --------------------------------------------------------------
> --------------
> ----
>  
>    REREPLACE     Info   
> In CF5 a regular expression with a leading quantifier (?+*), such as
> reFind("*", "abc"), would always match. In CFMX quantifiers 
> must follow
> something in the expression.
> Also, in replacement strings, the character pairs "\E", "\l", 
> "\L", "\u",
> and "\U" now represent case conversion codes. 
>  
>   How to Fix  
> Remove the unnecessary leading quantifier. To include those 
> pairs you must
> prefix them with an additional backslash, e.g. "\\E".  
>  
>   E:\Downloads\advancedemail.cfm   Line 258;259   
>     ......
> 257:    request.AdvancedEmail.PlainText =
> REReplaceNoCase(Request.AdvancedEmail.PlainText,"[[:space:]]*<
(script)[^>]*>
> [^<]*</script[^>]*>","","ALL");
> 258:    request.AdvancedEmail.PlainText =
> REReplace(Request.AdvancedEmail.PlainText,"<[^>]+>","","ALL");
> 259:    request.AdvancedEmail.PlainText =
> REReplace(Request.AdvancedEmail.PlainText,"[[:space:]]*#chr(13
> )##chr(10)#[[:
> space:]]*#chr(13)##chr(10)#","#chr(13)##chr(10)##chr(13)##chr(
> 10)#","ALL");
> 
> --------------------------------------------------------------
> --------------
> ----
>  
>    CFREGISTRY     Info   
> CFREGISTRY is deprecated in UNIX versions of ColdFusion MX. 
> In Windows, you
> should not use CFREGISTRY to read ColdFusion server settings, 
> because much
> of this information is no longer stored in the registry, or it is in a
> different location in the registry. The ColdFusion-related 
> values that are
> stored in the registry are subject to change.
>  
>    How to Fix  
> None 
>  
>  
>   E:\Downloads\advancedemail.cfm   Line 91;100;120;129   
>     ......
> 90:                   <cfif NOT IsDefined("attributes.spooldir")>
> 91:                           <CFREGISTRY
> 92:                                   ACTION="Get"
>     ......
> 99:                   <cfif NOT IsDefined("attributes.server")>
> 100:                          <CFREGISTRY
> 101:                                  ACTION="Get"
>     ......
> 119:          <cfif NOT IsDefined("attributes.port")>
> 120:                  <CFREGISTRY
> 121:                          ACTION="Get"
>     ......
> 128:          <cfif NOT IsDefined("attributes.timeout")>
> 129:                  <CFREGISTRY
> 130:                          ACTION="Get"
> 
> --------------------------------------------------------------
> --------------
> -
>  
>    CFHTTP     Info   
> In ColdFusion MX, the CFHTTP TIMEOUT attribute requires the 
> Java JDK 1.4.
> Otherwise the attribute is ignored. 
>  
>  
>   How to Fix  
> Install the Java JDK 1.4. 
>  
>  
>   E:\Downloads\advancedemail.cfm   Line 60   
>     ......
> 59:    <cfif IsDefined("request.AdvancedEmail.URL")>
> 60:           <cfhttp method="GET" 
> url="#request.AdvancedEmail.URL#" timeout="10"
> resolveurl="Yes"></cfhttp>
> 61:           <cfset request.AdvancedEmail.HTMLText = 
> cfhttp.FileContent>
> ------------------------------------------------------------
>  
>    REREPLACENOCASE     Info   
> In CF5 a regular expression with a leading quantifier (?+*), such as
> reFind("*", "abc"), would always match. In CFMX quantifiers 
> must follow
> something in the expression. 
>  
>  
>   How to Fix  
> Remove the unnecessary leading quantifier. 
>  
>  
>   E:\Downloads\advancedemail.cfm   Line 257   
>     ......
> 256:          request.AdvancedEmail.PlainText =
> Request.AdvancedEmail.HTMLText;
> 257:    request.AdvancedEmail.PlainText =
> REReplaceNoCase(Request.AdvancedEmail.PlainText,"[[:space:]]*<
(script)[^>]*>
> [^<]*</script[^>]*>","","ALL");
> 258:    request.AdvancedEmail.PlainText =
> REReplace(Request.AdvancedEmail.PlainText,"<[^>]+>","","ALL");
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to