Hey guys, I posted before about the CGI script I'm rewriting for smartlist (originally written for majordomo). The script has to send seperate emails for each list a user wants to subscribe to using sendmail. If a user wanted to subscribe to five lists using our web form, would it work if the script requested one email with this header?
To: webmaster@mycompany.com From: user@theircompany.com Cc: list1-request@mycompany.com, list2-request@mycompany.com, list3-request@mycompany.com, list4-request@mycompany.com, list5-request@mycompany.com Subject: subscribe (this could be in the body)
Or would even a Bcc work? The bottom line is that I want the script to send only one email request to sendmail when subscribing a user to multiple lists. Otherwise, I'd have to put the sendmail code in a foreach loop (Perl), which I don't want to do. Any help would be much appreciated.
.tony