On 2004-06-30 11:56:32 -0400, Charlie Brady wrote: > On Wed, 30 Jun 2004, Peter J. Holzer wrote: > > On 2004-06-29 22:41:35 +0100, Matt Sergeant wrote: > > > I haven't examined whether it's qpsmtpd or Mail::Internet that does > > > this yet - but I would like to change $headers->add() to put headers > > > onto the front of the email instead of the back. > > > > It's qpsmtpd. $headers->add() has an optional 3rd argument, which tells > > where the new header should be inserted. Changing all calls to > > $headers->add to include a third argument of "0" should do the trick. > > Easier still would be to change the default value to "0", would it not?
Yes, but Mail::Header and MIME::Head are not part of qpsmtpd but of
other packages, which are used by lots of other perl code, too. Changing
the documented behaviour of widely used perl modules is probably not
going to make Matt wildly popular (even assuming that he can convince
the maintainers of these modules).
hp
--
_ | Peter J. Holzer | I think we need two definitions:
|_|_) | Sysadmin WSR | 1) The problem the *users* want us to solve
| | | [EMAIL PROTECTED] | 2) The problem our solution addresses.
__/ | http://www.hjp.at/ | -- Phillip Hallam-Baker on spam
pgpHiz4hOpjze.pgp
Description: PGP signature
