Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6628 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi

I can't agree with your "Strip" variable in your EMail_Extractor...

Nobody have to write an email address in the form:

to:[email protected] aka without the space between "to:" and the real email !

But, if someone writes so badly, the same one can write:

##[email protected] or

Look at this kind [email protected] ...

So your attempt to eliminate the chars: ":<>=;" before the real email is [color:red]at least incomplete !

Nor can i agree with your "validEMailCharacters" variable that is useless !

It seems to me as you wanted to makes some changes only to write: Ralph Nusser into my CF ! :)

BTW I have to thank you for the citation of the [color:green]ORIGINAL GetEmail() CF !

  • 10 months later...
Posted

Yes, Genx

NO ONE of the above strings is a valid email address... they only contain the address !

What about:

GetEmail(Substitute(text;""";" ") ?

Posted

Hi Danielle,

I'm a bit confused?

You mean they aren't valid according to the original CF or they aren't valid email addresses full stop?

Posted

Hi Genx

the second you said ! :D

The strings:

1)[ [email protected]" ]

2)[ "[email protected] ]

3)[ "[email protected]" ]

are invalid Email addresses because they contains the " character.

This is from: http://www.developer.com/lang/php/article.php/3290141

1)An email address must follow the pattern: @.

2)The username can consist of the letters a through z, the numbers 0 through 9, and the underscore ('_'), hyphen ('-'), and period ('.') characters. Furthermore, the username cannot begin or conclude with a period.

3)The domain part follows the same rules as those specified for the username.

4)The tld, acronym for "top-level domain" can consist solely of one or more sequences of the letters a-z, each separated by a period. Furthermore, the suffix must begin with a period, and cannot conclude with a period. Finally, the suffix must be a valid Internet domain suffix as approved by the Internet Assigned Numbers Authority (IANA). Examples include ".com", ".net", ".co.uk", ".tv", and ".ca". If you're interested, IANA's Web site offers a comprehensive list of all valid TLDs.

5)Email addresses are case-insensitive.

Posted

Hi Danielle,

I had realized about the quote character, i was simply using it to show the presence of a space :D

This topic is 6628 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.