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]'; ???
This depends a lot on the program, module, etc. you are using the send the message. I'm not familiar with the program you list below, but I'll at least venture a guess:
$emailId = '[EMAIL PROTECTED], [EMAIL PROTECTED]';
Give that a try.
If it doesn't work, why don't you try sending us the part of the code that actually sends a message, instead of the snippet below.
Good luck.
James
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>
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>