See METHODS in Mail::Reporter
Create a new dummy message to occupy the space for a real message with the specified $message_id.
Option | Defined in | Default |
---|---|---|
body | Mail::Message | <not used> |
body_type | Mail::Message | |
deleted | Mail::Message | <false> |
field_type | Mail::Message | <not used> |
head | Mail::Message | <not used> |
head_type | Mail::Message | <not used> |
labels | Mail::Message | {} |
log | Mail::Reporter |
|
messageId | Mail::Message | <required> |
modified | Mail::Message | <always false> |
trace | Mail::Reporter |
|
trusted | Mail::Message | <always true> |
my $message = Mail::Message::Dummy->new($msgid); if($message->isDummy) {...}
A dummy message occupies the place for a real message. When a dummy is created, the id of the message which place it is holding must be known.
Dummy messages are place-holders in message threads: the thread detected the existence of the message, because it found the message-id in a Reply-To or References field, however it did not find the header and body of the message yet. Use isDummy() to check whether the thread node returned a dummy or not.