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.
|