i have a script that bulk sends the html document to all the subscribers with a feild that i enter. the thing is that when i send it the subject field is screwed after the first email.
for example, i would enter "This is my subject" in a form field. after the first email the rest end up with a subject "This" the rest gets cut out
This is the script that is sending the email
open (MAIL, "| $mailprog >/dev/null");
print MAIL <<END;
Subject: $name sends you a funnny picture - Make Me Laugh
Content-Type: multipart/mixed; boundary="$boundary"
@code = <code>;
s/\$name/$name/g for @code;
s/\$note/@note/g for @code;
s/\$pic/$pic/g for @code;
print MAIL "@code";
Its quite wierd. as i do rerun the script after sending each email but the subject field is the only one stuffing up??
Any help is greatly appreciated