I am trying to get the formmail.pl script to work and send to multiple recipients at the same address. I have followed the directions in the readme file as shown by matt's script archive but i keep getting an invalid route address anytime I have more than one reciepient. Any help would be appreciated, the code that is going bad is below:
In the perl script itself:
@referers = ('64.224.42.236','mycompany.com','@recipients = ('site-blauvelt.com','^jeffreym@mycompany.com','^yvonneh@mycompany.com');
The code in the formfield is as follows:
<input type=hidden name="recipient" value="jeffreym@mycompany.com,yvonneh@mycompany.com">
If I remove the second recipient the form works great but the minute I put the second recepient in, it gives me the invalid route address in the log file and it can't send the file.
I'm working off of an NT server.
I have about 6 recipients for the form so you can see my dilema.
Thanks for your time. Hope this helped!
In the perl script itself:
@referers = ('64.224.42.236','mycompany.com','@recipients = ('site-blauvelt.com','^jeffreym@mycompany.com','^yvonneh@mycompany.com');
The code in the formfield is as follows:
<input type=hidden name="recipient" value="jeffreym@mycompany.com,yvonneh@mycompany.com">
If I remove the second recipient the form works great but the minute I put the second recepient in, it gives me the invalid route address in the log file and it can't send the file.
I'm working off of an NT server.
I have about 6 recipients for the form so you can see my dilema.
Thanks for your time. Hope this helped!