I have a simple form that I have been using for a while, but now I need to
send the data to two email addresses. What is the simplest way to achieve
this?

I have tried various combinations and can't seem to figure it out.  $emailId
= '[EMAIL PROTECTED]' '[EMAIL PROTECTED]'; ???

Here is my code right now:


#!/usr/bin/perl

use CGI param;
$p = CGI::new();

$mailProgram = '/var/qmail/bin/qmail-inject';


# Email id to send the email to
$emailId = '[EMAIL PROTECTED]';

print "Content-type: text/html\n\n";
# Get the form variables

___________________

Any help would be appreciated.

Thanks,

Sander






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


Reply via email to