Ask a Question related to PERL Beginners, Design and Development.
-
Butch #1
error on finding email domain
Two ISPs are blocking email from a community service webiste and I
need to alert users to not sign up using an address at one of these
ISPs. My program creates errors unless a condition exists. This
particular error would use this code snippet but I do not know how to
tell it to read the email address after the @ sign only. Here is what
I have:
unless ($form{'EMAIL'} != verizon.net || gte.net);
Will this work or must I some how chomp off everything from the @ sign
to the beginning?
Butch
Butch Guest
-
error finding files
Warning: main(../includes/topNav.inc): failed to open stream: No such file or directory in... -
Domain error
I'm receiving a domain error while processing the following query. I am using CFMX 6.1 and MS SQL 2005. Any help is greatly appreciated. -Andy ... -
Can't email to same domain?
I am using the CF admin to email from my app using CFMAIL just fine, unless I email to the same domain my email server is on. Then the email just... -
Looking for module that will expands domain/username to email address
Hi, Is that any perl module that If I enter domain/username that will return that user email address/ expands to the user email address? For... -
Error finding 'System.Web.UI.Page"
Hi All, I've successsfully installed VS.net 2003 and when i execute any ASP.NETR application it gives following error. Visual Studio was... -
Shawn Scott #2
Re: error on finding email domain
You could use a regex and do something like this.
unless ($form{'EMAIL'} !~ /^[a-z0-9\.-]+\@verizon.net$/ || $form{'EMAIL'} !~
/^[a-z0-9\.-]+\@gte.net$/
....
The better solution would be fix the reason they are blocking the site.
-Shawn
"Butch" <webmaster@2clones.com> wrote in message
news:1921f571.0401131500.3ccdef59@posting.google.c om...> Two ISPs are blocking email from a community service webiste and I
> need to alert users to not sign up using an address at one of these
> ISPs. My program creates errors unless a condition exists. This
> particular error would use this code snippet but I do not know how to
> tell it to read the email address after the @ sign only. Here is what
> I have:
>
> unless ($form{'EMAIL'} != verizon.net || gte.net);
>
> Will this work or must I some how chomp off everything from the @ sign
> to the beginning?
>
>
> Butch
Shawn Scott Guest



Reply With Quote

