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
Download (untitled) / with headers
text/plain 276b
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>
Download (untitled) / with headers
text/plain 590b
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.
Download (untitled) / with headers
text/plain 164b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.