An Internet facsimile apparatus is configured to receive e-mail and to
print the e-mail. The Internet facsimile apparatus includes a controller
that determines whether the received e-mail includes a text part when it
is determined that the received e-mail comprises a multipart structure,
and determines whether the text part includes a predetermined pair of
codes. The controller replaces a character string between the
predetermined pair of codes with another predetermined code when it is
determined that the text part includes the predetermined pair of codes,
so that the character string replaced by the another predetermined code
is not printed.