Skip Menu |

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 64606
Status: rejected
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: SILASMONK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: impossible to set Auto-Submitted header as per RFC3834
According to the perldoc of /usr/share/perl5/MIME/Entity.pm there is a list of valid email headers. Auto-Submitted is not among them, but needed for example to send x-arf reports, see: x-arf.org Report forwarded from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585031
Subject: Re: [rt.cpan.org #64606] impossible to set Auto-Submitted header as per RFC3834
Date: Sat, 8 Jan 2011 12:22:49 -0500
To: bug-MIME-tools [...] rt.cpan.org
From: "David F. Skoll" <dfs [...] roaringpenguin.com>
On Sat, 8 Jan 2011 06:52:57 -0500 "Nicholas Bamber via RT" <bug-MIME-tools@rt.cpan.org> wrote: Show quoted text
> Auto-Submitted is not among them, but needed for example to send x-arf > reports, see: x-arf.org
Can't you use: $ent = MIME::Entity->build('Auto-Submitted:' => 'auto-generated', ...); ? The docs say: To specify a fieldname that’s not in the above list, even one that’s identical to an option below, just give it with a trailing ":", like "My-field:". When in doubt, that always signals a mail field (and it sort of looks like one too). Regards, David.
Hi, I'm rejecting this ticket because (as per my previous reply) it is possible to set any header you like by suffixing the header name with ":" Regards, David.