in reply to Re^2: Removing Headers in Perl
in thread Removing Headers in Perl
Once you've sent your email, it's too late to remove any headers.
Maybe you don't want to print the headers in the first place?
Maybe you can share with us the exact problem you are trying to solve?
Maybe this is an XY Problem?
In the transmission text, the headers are delimited from the mail body by two consecutive newline sequences (\r\n\r\n), so you could get creative with that if you save the output to a file instead of piping it to sendmail immediately.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Removing Headers in Perl
by North323 (Initiate) on Nov 11, 2007 at 21:37 UTC | |
by Corion (Patriarch) on Nov 11, 2007 at 21:44 UTC | |
by aquarium (Curate) on Nov 12, 2007 at 02:34 UTC |