Hi folks.

I'm writting a basic Perl script to send mail using the Mail::Send
module for it via CGI.pm

I have:

...
use CGI qw/:standard/;

print header,
       start_html('Sending ...'):

$mail_to = param('email');

$msg = Mail::Send->new;
$msg = Mail::Send->new(Subject=>Some Subject', To=>$mail_to);
$msg->cc('[EMAIL PROTECTED]');

... bla bla

Whenever, the script don't send the mail to the param get from the
email field in the form.

Is correct interpolate the variable $mail_to or need put single quotes
o maybe double quotes?



Regards.

-- 
Francisco Valladolid H.
 -- http://bsdguy.net - Jesus Christ follower.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to