Skip to content

Commit

Permalink
document $MAX_PARTS
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed May 2, 2024
1 parent fc0fede commit b2cb62f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Email/MIME.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,14 @@ The variable C<$Email::MIME::MAX_DEPTH> is the maximum depth of parts that will
be processed. It defaults to 10, already higher than legitimate mail is ever
likely to be. This value may go up over time as the parser is improved.
The variable C<$Email::MIME::MAX_PARTS> is the maximum number of parts that
will be processed. It defaults to 100, already higher than legitimate mail is
ever likely to be. This value may go up over time as the parser is improved or
as research suggests that our starting position was wrong.
Increasing either of these variables risks significant consumption of memory.
Test before changing things.
=head1 SEE ALSO
L<Email::Simple>
Expand Down

0 comments on commit b2cb62f

Please sign in to comment.