in reply to Re^4: Removing Headers in Perl
in thread Removing Headers in Perl
So, to translate your wish into real-world terms, you want to send a post card to yourself, without writing your address onto the postcard?
The headers in emails are administrative information which is used for routing the mail from the source to the recipient, so you cannot leave it. Much of an email is added by the mail transfer agent (MTA) anyway and beyond your control.
But as far as it is under your control, you can stop printing the headers.
Maybe that hint wasn't subtle enough. The print function is used to print output. If you don't want to print something, remove the print statement.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Removing Headers in Perl
by aquarium (Curate) on Nov 12, 2007 at 02:34 UTC |