Mail Style

2002-04-12 Thread Bill Lyles
Hi I need to know how the mail stucture would look if I want to send data from a form via smtp instead of using the PRINT statement I need to use this $MAIL->datasend("or more lines\n"); How would I define the the form variables like username would it look like this? $MAIL>datasend("$userna

Meaning

2002-04-16 Thread Bill Lyles
As I am somewhat new to perl can someone tell me what this means   $header = qq~   I understand the header but what is the qq~ for?   Thanks  

Definition

2002-04-16 Thread Bill Lyles
As I am somewhat new to perl can someone tell me what this means   $header = qq~   I understand the header but what is the qq~ for?   Thanks

Using smtp

2002-04-17 Thread Bill Lyles
I have a script that I'm trying to edit to use smtp because it only calls for a mail program. this is the code if ($found) { open (MAILME, "|$mailprog -t") or &dienice("Can't access $mailprog!\n"); print MAILME "To: $email\n"; print MAILME "From: $adminmail\n"; print MAILME "Subject: Your userna

Mail?

2002-05-11 Thread Bill Lyles
Hi I'm making a script that will sent info to a user verify. like this $MAIL->datasend('.$fname'."\n"); is this correct or not Also I need to know how I can include a cc to myself Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Mail?

2002-05-11 Thread Bill Lyles
Ok here is the mail script Please note that the variables are taken from a form This line is at the top use Net::SMTP; these are the variables $adminmail = 'q^webmaster2\@adelphia.net^'; $fname = $field{'fname'} ; $lname = $field{'lname'} ; $address = $field{'address'} ; $city = $field{'cit

Re: Mail?

2002-05-11 Thread Bill Lyles
I still can't get this to work Thats why I hate being a newbie so I'm attaching the form page and the script some please tell me what I'm doing wrong Everytime I run it my browser it just says the page cannot be displayed Thanks - Original Message - From: "Tim Musson" <[EMAIL PROTECT

Validation Error

2002-05-12 Thread Bill Lyles
I made a script with Perlbuilder 2.0 to get data from a form, then validate the email address and email the data Everytime I run the form it keeps telling me to enter a valid email address wich of course is my own for testing Please tell me whats wrong $message = "" ; $found_err = "" ; $errmsg

Re: Validation Error

2002-05-12 Thread Bill Lyles
al) = @_ if @_ ; local ($buf); if ($ENV{'REQUEST_METHOD'} eq 'POST') { read(STDIN,$buf,$ENV{'CONTENT_LENGTH'}); } else { $buf=$ENV{'QUERY_STRING'}; } if ($buf eq "") { return 0 ; } else { @fval=split(/&/,$buf); foreach $i (0

Re: Validation Error

2002-05-12 Thread Bill Lyles
> > On Sunday, May 12, 2002, at 06:44 , Bill Lyles wrote: > > > Ok here is the whole script, and as I said this was generated bt > > Perbuilder > > 2.0 and the email part was generated by Code Magic. > > this is gonna sound like a silly question - but are > you te

Re: Validation Error

2002-05-12 Thread Bill Lyles
Huh? - Original Message - From: "drieux" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 12, 2002 11:24 PM Subject: Re: Validation Error > > On Sunday, May 12, 2002, at 08:13 , Bill Lyles wrote: > > > I have been running this directly

Re: Validation Error

2002-05-12 Thread Bill Lyles
Yes that is correct - Original Message - From: "bob ackerman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 13, 2002 12:56 AM Subject: Re: Validation Error > > On Sunday, May 12, 2002, at 09:38 PM, Bill Lyles wrote: > > > Huh? &g