A communication apparatus capable of communicating with a server connected
to the apparatus via a network. When a mail message is received from a
POP3 server, it is determined whether or not an error exits in the mail
message. If it is determined that an error exits, unique ID of the mail
message is registered. If a number of a mail message having the same
unique ID as the registered unique ID is received, reception of the mail
message is rejected.