Patent ID: 8625127

Claim:
An image forming apparatus comprising: a receiving unit configured to receive image data including a received image; a setting table memory configured to store a relationship between specific information and a plurality of output modes, the specific information including transmission source information, special data and a recipient's name, and the plurality of output modes including a storage mode, a transfer mode, a mail transfer mode, a print mode and an unnecessary mode, wherein the recipient's name represents a name corresponding to the image forming apparatus; an image forming unit configured to form an image on a recording medium; a processor; and memory storing instructions that, when executed by the processor, cause the image forming apparatus to perform operations comprising: analyzing the received image and retrieving the specific information from the received image; referring to the setting table memory and determining one of the output modes based on the transmission source information, the special data and the recipient's name, and if the determined one of the output modes is the storage mode, referring to the setting table to determine a storage unit to store the received image and storing the received image in the storage unit; if the determined one of the output modes is the transfer mode, referring to the setting table to determine a printer unit to print the received image and transferring the received image to the printer unit; if the determined one of the output modes is the mail transfer mode, referring to the setting table to determine an email address to which the received image is to be transferred and transferring the received image to the email address; if the determined one of the output modes is the print mode, causing the image forming unit to print the received image; and if the determined one of the output modes is the unnecessary mode, discarding the received image.