RE: parsing a domain name out of an email address

2002-03-15 Thread Tim Doty
for starters the regex is invalid. the first closing parens comes too soon. try: if ($EmailAddress =~ (/^\w+\@aol\.com$/i)){ tim > -Original Message- > From: Eric Peers [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 15, 2002 1:45 PM > To: [EMAIL PROTECTED] > Subject: parsing a do

Re: parsing a domain name out of an email address

2002-03-15 Thread Eric Peers
Thank you. That helped get the script to compile. Neither file is being opened, but that me be a permissions issue. I've expanded the code out a bit (and made a correction to the if/then statement): my $EmailAddress = $to; if ($EmailAddress =~ (/^\w+\@aol\.com$/i)) { my $msg =

RE: parsing a domain name out of an email address

2002-03-15 Thread Rand Cufley
Hi Eric, I believe you need a blank line after the email header before you start your message body. -Rand -Original Message- From: Eric Peers [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 11:50 AM To: Tim Doty; [EMAIL PROTECTED] Subject: Re: parsing a domain name out of an

RE: parsing a domain name out of an email address

2002-03-19 Thread Luna Antonio (Servi-Centro)
Title: RE: parsing a domain name out of an email address I think the following page could help you. -Original Message- From: Rand Cufley [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 12:55 PM To: 'Eric Peers'; [EMAIL PROTECTED] Subject: RE: parsing a domain name