Subject: | [PATCH] Trivial doc patch for Content-Type matching and walk_parts |
The walk_parts documentation suggests the following things:
return if $part->parts > 1; # multipart
rjbs mentioned this should just be return if $self->subparts;
Also:
if ( $part->content_type =~ m[text/html] ) {
But content_type could be mixed case, so that should include the /i
modifier.
Patch located at https://github.com/wolfsage/email-mime/commit/9d6760d25f
Pull-request sent.
Thanks,
-- Matthew Horsfall (alh)
-- In the employ of Dyn Inc. http://dyn.com