Re: $from_address

2003-03-29 Thread Robbie Staufer
Thanks to all for your help with the $from address thing. Removing the single quotes did the trick. Robbie R. Joseph Newton wrote: Robbie Staufer wrote: Hi, I have a perl script that takes in form data and generates and email with the data to be sent to me. I'm getting the error message

Re: $from_address

2003-03-29 Thread R. Joseph Newton
Robbie Staufer wrote: > Hi, > > I have a perl script that takes in form data and generates and email > with the data to be sent to me. I'm getting the error message > Error:Bad or missing From address: '$from_address'. The webmaster says > I'm using the correct from address, so, any ideas about

Re: $from_address

2003-03-28 Thread John W. Krahn
Robbie Staufer wrote: > > Hi, Hello, > I have a perl script that takes in form data and generates and email > with the data to be sent to me. I'm getting the error message > Error:Bad or missing From address: '$from_address'. The webmaster says > I'm using the correct from address, so, any id

Re: $from_address

2003-03-28 Thread Kevin Meltzer
$from _address will not interpolate in single quotes. No quotes needed around $from_address, $to_address or $subject. Cheers, Kevin On Fri, Mar 28, 2003 at 12:12:44PM -0700, Robbie Staufer ([EMAIL PROTECTED]) said something similar to: > Hi, > > I have a perl script that takes in form data and

Re: $from_address

2003-03-28 Thread Rob Dixon
Robbie Staufer wrote: > Here's what I have: > > $from_address = "[EMAIL PROTECTED]"; > $to_address = "[EMAIL PROTECTED]"; > $subject = "ESMF Registration Form"; I should have pointed out that here single quotes are just what you want, to stop it expanding arrays @sweb and @scd. That way you wouldn

Re: $from_address

2003-03-28 Thread Rob Dixon
Robbie Staufer wrote: > Hi, > > I have a perl script that takes in form data and generates and email > with the data to be sent to me. I'm getting the error message > Error:Bad or missing From address: '$from_address'. The webmaster says > I'm using the correct from address, so, any ideas about

Re: $from_address

2003-03-28 Thread Pete Emerson
You need to leave off the single quotes around $from_address, $to_address, and $subject. %mail = ( SMTP=> 'finster.scd.ucar.edu', from=> $from_address, to => $to_address, subject => $subject, ); Mar 28, 2003 at 12:12pm from Robbie Staufer:

RE: $from_address

2003-03-28 Thread Bakken, Luke
> $from_address = "[EMAIL PROTECTED]"; > $to_address = "[EMAIL PROTECTED]"; > $subject = "ESMF Registration Form"; > > %mail = ( > SMTP=> 'finster.scd.ucar.edu', > from=> '$from_address', > to => '$to_address', > subject => '$subject', > ); > >