I am trying to parse an email address due to the
friendly email addresses by using CFPOP.
If the #FROM# resembles: [EMAIL PROTECTED]
then I am fine however since there are friendly email
address which look like "myname" <[EMAIL PROTECTED]>
then I have to use HTMLEditFormat to get the email address.
However using this code, does not FIND the "<" in the email
addresses that are Friendly however it will fine the "@" symbol.
What am I missing???
<cfset checkEmail = #HTMLEditFormat(from)#>
<cfif #FindNoCase("<",checkEmail,1)#>
Email Start Point Located
<cfelse>
<!--- Use CheckEmail --->
If it is a Friendly Email Address then
When I validate this in the DB, it looks
for the entire string "myname" <[EMAIL PROTECTED]>
and NOT just the email address.
</cfif>
sorry I am just not with it today to think about it any
longer and I know it is something so dang simple that I
am just overlooking...
Thanks in Advance!
NO - #findnocase("@",checkEmail,1)# -
</cfif>
#LEN(checkEmail)#
<br>
</cfoutput>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists