Re: [OT] Re: sendMail in cgi program

2000-06-13 Thread Ian Kallen
Well, you _can _ do this $var=<<"END"; This is my variable's multiline text, complete tith tabs\t\t and extra newline\n\n, etc END four spaces in the opening and closing quote. I usually use qq{ } depending on how much I care about whitespace formatting.

[OT] Re: sendMail in cgi program

2000-06-12 Thread Paul
I know you've received other responses, but I'm doing a good bit of this lately. > sub sendEmail { > open (Sendmail, "|/usr/lib/sendmail -oi -t ") > or die "Can't fork for sendmail: $!\n"; > print Sendmail <<"EOF"; > From: Bugs > To: amy > Subject