I having problems getting "print SENDMAIL" to write all catalog selections from @CATALOG array.
This script is written in Perl.
Can anyone offer assistance?
Thanks!
Here is just the SENDMAIL code...
####################################################
# Send email to customer to confirm Catalog Order #
####################################################
open(SENDMAIL, "¦$sendmailpath") or die "Cannot open $sendmail: $!"
print SENDMAIL "From: $email1\n";
print SENDMAIL "To: $recipient\n";
print SENDMAIL "BCC: $cc\n";
print SENDMAIL "Subject: $subject\n\n";
print SENDMAIL "Thanks, $name for your order!\n\n";
print SENDMAIL "You have ordered:\n";
print SENDMAIL "<ul>";
foreach $CATALOG (@CATALOG) { print SENDMAIL "<li>$CATALOG \n"; }
print SENDMAIL "</ul>";
print SENDMAIL "\n\n";
print SENDMAIL "In Christ,\n\n";
print SENDMAIL "-Harvest Group MA ";
close (SENDMAIL);
Tom Fitzsimmons
[edited by: cafetom at 6:03 pm (utc) on July 24, 2003]
Welcome to WebmasterWorld [webmasterworld.com].. Please read Marcia's guide to the basics
wruk999
[edited by: jatar_k at 8:26 pm (utc) on July 24, 2003]
[edit reason] see sticky [/edit]