Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hoever, the format doesn't hold when I receive the email. Is there a special trick happening here? Many thanks in advance, Stacy.use strict; open(SENDMAIL, "| /usr/lib/sendmail -oi -t -fReport_Master") || die "Can't fork for sendmail: $!\n"; print SENDMAIL <<"EOF"; To: help@perlmonks.org Subject: Report Submitted by: $name Email: $email Phone: $phone_number Project: $project Date: $submitted Duration of stay: $duration Collaborators: $collaborators EOF ; close(SENDMAIL) || die "Error on close of pipe to mailer: $?";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: formatting text with sendmail
by rob_au (Abbot) on May 04, 2002 at 09:16 UTC | |
|
Re: formatting text with sendmail
by abstracts (Hermit) on May 04, 2002 at 08:46 UTC | |
by Anonymous Monk on May 04, 2002 at 09:04 UTC |