[Rt-devel] No MessageId set for Attachments?
Petter Reinholdtsen
pere at hungry.com
Fri Sep 3 06:59:20 EDT 2004
[Petter Reinholdtsen]
> + #Get the MessageID, or undef if not available
> + my $MessageId = $Attachment->head->get( 'messageid', 0 );
Small typo here. 'messageid' should be 'message-id' to match the RFC
822 header name.
> @@ -167,6 +170,7 @@
> Parent => 0,
> ContentType => $Attachment->mime_type,
> Headers => $Attachment->head->as_string,
> + MessageId => $MessageId,
> Subject => $Subject);
>
> foreach my $part ( $Attachment->parts ) {
This did not work. Adding the value as an argument to Create() did
not make it appear in the database. Any idea what is wrong?
More information about the Rt-devel
mailing list