Abstract:
An e-mail communication apparatus connected an administrator via a network includes a receiver that receives e-mail from a sender over the network and a detector that detects whether or not the received e-mail can be handled, based upon whether the e-mail can be opened in the e-mail communication apparatus. A printer prints the received e-mail when the detector detects that the e-mail can be handled in e-mail communication apparatus and a transmitter transmits a notice e-mail to the administrator when the detector detects that the e-mail cannot be handled in e-mail communication apparatus. The receiver, the detector and the printer are integrated in the e-mail communication apparatus.

Description:
This application is a Continuation of U.S. application Ser. No. 09/495,516, filed on Feb. 1, 2000 now U.S. Pat. No. 6,441,916, which is a Division of U.S. patent application Ser. No. 09/184,902, filed on Nov. 3, 1998 now U.S. Pat. No. 6,094,277, the contents of which are herein expressly incorporated by reference in their entireties. 

   BACKGROUND OF THE INVENTION 
   1. Field of the Invention 
   The present invention relates to Internet facsimiles that allow facsimile transmissions with image information attached to E-mail. 
   2. Description of the Related Art 
   Recently, it is a common practice to exchange E-mail between personal computers (PC) over a local area network (LAN) or the Internet. Usually, Exchange of E-mail is implemented by connecting LAN to a PC which has E-mail software installed and by dialing up a contracted provider. 
   Furthermore, a facsimile type E-mail apparatus is put into practice as simple E-mail means without using a PC. This kind of facsimile type E-mail apparatus is called Internet FAX. The Internet FAX is a facsimile provided with a function to communicate E-mail over the Internet, which transmits E-mail accompanied mainly by image information scanned by a scanner in attached file format. 
   There may be cases where image data files attached to received E-mail cannot being opened depending an some functions incorporated in the Internet FAX. Being unable to open the attached files means failing to receive image information correctly and this will require an error message to be sent to the sender. 
   Machines which has a sufficient storage capacity store, such as PC, all image information irrespective of whether it is possible to open the image information or not, and thus they can re-attach the image information that could not be opened to the E-mail and send it back to the sender. 
   However, with the Internet FAX, there is a limitation to the memory capacity for buffering received mail and only the amount of data corresponding to the buffer memory capacity is taken out of a mail server and that portion of data is opened and printed out in page units. When image information with a large capacity is attached, it is difficult to store all image information in the Internet FAX. In this case, when it fails to open an attached file containing the image information, it is not possible to re-attach the image information that could not be opened to the E-mail and send it back to the sender. 
   Furthermore, since a normal facsimile transmits data according to a facsimile transmission protocol, the facsimile on the sender side can confirm the delivery of the message. However, when image information is transmitted in E-mail format using the Internet FAX, it is not possible to confirm the delivery of the mail according to a facsimile transmission protocol. 
   As described above, the conventional Internet FAX is unable to notify the sender of the fact that the files attached to the received E-mail could not be opened or that data has been received successfully. 
   SUMMARY OF THE INVENTION 
   An objective of the present invention is to provide an Internet facsimile that can accurately and simply notify the sender of the data that resulted in an error or the data correctly received even When it is not equipped with a large-capacity memory or hard disk. 
   Thus, the present invention firstly provides an Internet facsimile apparatus comprising transmitting/receiving means for transmitting/receiving E-mail to/from a network, identification data creating means for creating identification data from received mail and notification means for creating reply mail including said identification data and notifying it to the sender of said received mail. 
   Secondly, the present invention provides an Internet facsimile apparatus comprising transmitting/receiving means for transmitting/receiving E-mail to/from a network, and account name notification means for notifying an account name to a specific terminal connected via the network in the case that files attached to the received mail cannot be opened. 
   Thirdly, the present invention provides an E-mail communication method for the Internet facsimile comprising the steps of receiving E-mail from a network, creating identification data from the received mail, creating reply mail including said identification data, and notifying said reply mail to the sender of said received mail. 
   Fourthly, the present invention provides an E-mail communication method for the Internet facsimile comprising the steps of transmitting/receiving E-mail to/from a network, and notifying an account name to a specific terminal connected via the network in the case that files attached to the received mail cannot be opened. 

   
     BRIEF DESCRIPTION OF THE DRAWINGS 
       FIG. 1  illustrates a functional section diagram of an Internet FAX according to an embodiment of the present invention; 
       FIG. 2  illustrates a hardware configuration diagram of the Internet FAX according to the above embodiment; 
       FIG. 3  illustrates a system configuration diagram of the Internet FAX according to the above embodiment; 
       FIG. 4  illustrates a flow chart showing operation details of the Internet FAX of the above embodiment; 
       FIG. 5  illustrates a TIFF-F file configuration diagram; 
       FIGS. 6A and 6B  illustrate a specific example of IDF and header; 
       FIG. 7  illustrates an area configuration diagram of the memory; 
       FIG. 8  illustrates a flow chart of an example of modified operation of the Internet FAX of the above embodiment. 
   

   DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
   With reference now to the attached drawings, the embodiment of the present invention is explained below. 
     FIG. 1  illustrates a functional section of the Internet FAX according to the embodiment of the present invention. The present Internet FAX transmits/receives E-mail via E-mail communication section  1 . E-mail communication section  1  comprises reception section  2  that performs reception-related processing of E-mail and transmission section  3  that performs transmission-related processing of E-mail. E-mail data received via reception section  2  is buffered in memory  4 . The header information and IFD information of the received E-mail data stored in memory  4  is analyzed by header/IFD analysis section  5 . According to the analysis result, header/IFD analysis section  5  gives notification type data, corresponding to various kinds of notification such as error message and delivery status notification message, to message ID/text extraction section  6  or reply message creation section  7 . Message ID/text extraction section  6  extracts the message ID and/or mail head text from the received E-mail data according to the notification type data. Reply message creation section  7  creates various messages such as error message and delivery status notification message using the message ID and/or mail head text, etc. Fixed form text for a message to be notified to the sender is stored in fixed form text memory  8 . 
   Furthermore, output destination decision section  9  decides the output destination of the received E-mail from the mail address of the received E-mail data stored in memory  4 . When the final destination is another G 3  FAX, it transfers the opened image information together with the destination telephone number to FAX  21 . When the final destination is itself, it inputs the received E-mail to printer  22 . 
     FIG. 2  illustrates an outline of hardware making up the Internet FAX according to the present embodiment. As shown in said figure, the Internet FAX comprises CPU  20  that controls the operation of the entire apparatus, FAX  21  that performs FAX transmission/reception according to a normal facsimile protocol, printer  22 , scanner  23  that scans a document and incorporates image information of the document, LAN interface section  24  that connects with the Internet, and ROM  25  that stores programs, etc. to operate as a normal facsimile. It further incorporates RAM comprising program area  26  that stores a program to operate as an Internet FAX, work area  27 , and data area  28 . The functions shown in  FIG. 1  are carried out when CPU  20  executes a program stored in program area  26 . 
     FIG. 3  illustrates a conceptual diagram of the network system including the Internet FAX in the present embodiment. The IFAX 1  and IFAX 2  are the Internet FAX apparatuses in the present embodiment and PC 1  and PC 2  are personal computers with an E-mail function. Data created or read in each terminal are transmitted to a target terminal via a mail server. The protocol used by the IFAX to receive mail is POP (Post Office Protocol). Therefore, the mail server also stores mail that cannot be handled by the IFAX and in order to return an error to the sender, the IFAX returns the mail. 
   Then, the operation of the embodiment configured as shown above is explained below. 
   The Internet FAX converts image information scanned by scanner  23  to a file in TIFF-F file format and attaches it to E-mail. The Internet FAX sets the destination Internet FAX or PC E-mail address in E-mail. When the image information is further transferred to a G 3  FAX, the following E-mail address is set. 
   passwd#1234556@ifax.mgcs.co.jp “passwd” indicates transmission to the G 3  FAX and the number between “#” and “@” indicates the FAX number of the transfer destination. Granting the password=passwd only to the users who are authorized to use the Internet FAX as a relay apparatus prevents unauthorized use by other people. E-mail is sent to a mail server in which a mailbox of the destination terminal, e.g., Internet FAX or PC, is set. 
     FIG. 5  shows a TIFF-F file format, a file format used to attach image information to E-mail. The top of a TIFF-F file is occupied by a header, followed by a number of pairs of IFD (Image File Directory) and data corresponding to one page. As shown in  FIG. 6 , the header stores type data indicating the type of CPU by which the data was registered and the offset up to the start IFD. The way words are expressed depends on the type of CPU. The IFD contains data such as the paper width, number of vertical lines, compression method, bit (MSB or LSB) placed to the left of data, data offset, number of bytes of data, etc. 
   Since the Internet FAX in particular cannot perform negotiations, it is designed to insure communications with minimum functions of the Internet FAX. What specifies this minimum functions is called “minimum set.” The minimum set specifies the CPU to be an Intel CPU, the paper width to be 1728, the data array to be LSB and the compression method to be MH. 
   With reference now to the flow chart shown in  FIG. 4 , the operation of the Internet FAX during mail reception is explained below. In the present embodiment, the Internet FAX periodically accesses the mail server to check whether new E-mail has been received. When it detects newly received mail, the Internet FAX download the received E-mail data from the mail server and stores them in data area  28  to the full. Since data area  28  has a capacity of 1 MB, when the E-mail text and a TIFF-F file are attached, the data containing the header of the TIFF-F file and the IFD of the first page are stored in data area  28 . 
   Header/IFD analysis section  5  decides whether there are any TIFF-F files from the mail data stored in the data area of memory  4  (S 1 ). When there is no TIFF-F file, Header/IFD analysis section decides whether any text is included in the beginning of the E-mail (S 2 ). When there is no text, header/IFD analysis section  5  notifies the type of error message corresponding to the case where there is neither TIFF-F file nor text to message ID/text extraction section  6 . 
   Message ID/text extraction section  6  extracts information to identify the received E-mail from memory  4  according to the type of error message. Since this is an error message when there is neither TIFF-F file nor text, it extracts “message ID” of the sender from memory  4 . The extracted “message ID” is handed over to reply message creation section  7 . 
   Reply message creation section  7  reads out the fixed form text data of the error message corresponding to the type of error message input from the header/IFD analysis section  5 , from fixed form text memory  8 . Reply message creation section  7  creates reply mail data by adding the “message ID” given from message ID/text extraction section  6  to the reply message of this extracted error message (S 3 ). The reply message contains a message indicating “data contained in this mail cannot be handled by IFAX.” This E-mail is sent to the sender address described in the header of the received E-mail (S 16 ). 
   In this way, when the sender receives the error notification E-mail above, a message indicating “data contained in this mail cannot be handled by IFAX” and the “message ID” of the mail are presented. In this case, since the sender is probably to be a PC, the “message ID” of the transmitted E-mail has been stored. Therefore, it is possible to identify the transmitted mail When the “message ID” is found. 
   In step S 2  above, when header/IFD analysis section  5  recognizes that there is text at the beginning of the received E-mail, it notifies the type of error message corresponding to the case where there is no TIFF-F file but there is text to message ID/text extraction section  6  and reply message creation section  7 . When message ID/text extraction section  6  receives the error message type, it extracts the text at the beginning of the received E-mail in addition to the “message ID” from memory  4  and hands it over to reply message creation section  7 . 
   Reply message creation section  7  extracts a message indicating “data contained in this mail cannot be handled by IFAX” from fixed form text memory  8  and creates reply message data by adding the “message ID” and text given from message ID/text extraction section  6  to this error message (S 4 ). It then transmits this reply message data to the sender by E-mail (S 16 ). 
   When the sender receives the error notification E-mail above, the message indicating “data contained in this mail cannot be handled by IFAX,” the “message ID” of the mail and the text at the beginning of the mail are presented. Presenting the text at the beginning of the reply message makes it easier to identify the transmitted data. 
   On the other hand, in above step S 1 , when header/IFD analysis section  5  decides that the received E-mail contains a TIFF-F file, it checks the IFD on the first page of the TIFF-F file to decide whether it is minimum set or not (S 5 ). When data other than minimum set are received, it is necessary to issue an error message. 
   When header/IFD analysis section  5  identifies that the TIFF-F file is not minimum set, it decides whether or not one page is 1 MB or less (S 12 ). To do this, it examines whether data area  28  contains one page or not from the offset and number of bytes of data set in the IFD. When data area  28  contains full one-page data, it can decide that one page is “1 MB or less.” In this case, header/IFD analysis section  5  adds the start page stored in data area  28  to the reply mail and gives the error message type data to be returned to message ID/text extraction section  6  and reply message creation section  7 . Message ID/text extraction section  6  extracts the start page stored in data area  28  from the received E-mail data and supplies the extracted start page to reply message creation section  7 . Reply message creation section  7  extracts a message indicating “data contained in this mail cannot be handled by IFAX” from fixed form text memory  8  to create reply mail and at the same time combines the start page of the received mail with the reply mail text. When the entire start page cannot be contained, part of the start page is combined. This reply mail is transmitted from transmission section  3  to the sender (S 16 ). This allows the sender who receives the reply mail to see the start page of the file attached to the E-mail transmitted by him/her in addition to the message indicating “data contained in this mail cannot be handled by IFAX,” and easily identify the mail he/she transmitted. 
   In above step S 5 , when the data are decided to be minimum set of TIFF-F file, header/IFD analysis section  5  decides whether or not one page is 1 MB or less as in the case of above step S 12  (S 6 ). When it decides that one page exceeds 1 MB, it notifies error type data corresponding to this case to message ID/text extraction section  6  and reply message creation section  7  to attach the “Message ID” to the error fixed form text. 
   When the file attached to the E-mail is minimum set of TIFF-F file and one page is 1 MB or less, output destination decision section  9  decides the output destination (S 7 ). Output destination decision section  9  recognizes the presence/absence of an indication of transmission to the G 3  FAX from the character string written to the left of “@” of the mail address (destination). For example, when the mail address is as below: 
   passwd#1234556@ifax.mgcs.co.jp then, it is recognized that “passwd” indicates transmission to the G 3  FAX and the number between “#” and “@” indicates the FAX number of the transfer destination. When there is no “passwd” the data are printed by printer  22 . 
   With reference now to  FIG. 7  how to use the memory area of memory  4  is explained. As described above, the received E-mail data are input to data area  28  of 1 MB as much as possible. In above steps S 6  and S 12 , when it is decided that one page is 1 MB or less, the first page data stored in data area  28  are copied to the first page area secured in work area  27 . After the start page is copied, the data are printed out and the remaining data are read from the mail server. 
   When all data are printed out normally, header/IFD analysis section  5  gives message ID/text extraction section  6  and reply message creation section  7  a reception OK command. Header/IFD analysis section  5  receives the reception OK command, then extracts the first page data and gives it to reply message creation section  7 . Reply message creation section  7  reads a message corresponding to the reception OK command from fixed form text  8 , then creates reply text and combines the first page given from header/IFD analysis section  5  with the E-mail text into one page (S 11 ). This reply mail is transmitted as a delivery status notification message from the transmission section to the sender (S 16 ). This allows the sender who received this reply mail to confirm that the image information sent by him/her has been received correctly from the message of successful delivery and the start page. 
   In above step S 7 , When a transfer to the G 3  FAX is indicated, “passwd” is checked to decide whether it matches the password of the sender (S 8 ) or not. When it does not match the password of the sender, the error message type data corresponding to this case is given to message ID/text extraction section  6  and reply message creation section  7 . Upon receiving this message, reply message creation section  7  extracts a message indicating that the transfer to the G 3  FAX resulted in NG from fixed form text memory  8  and creates reply mail. Then, reply message creation section  7  combines the start page extracted by message ID/text extraction section  6  with the main body of the reply mail (S 10 ). This reply mail is transmitted to the sender (S 16 ). This allows the sender to confirm that the transfer to the G 3  FAX resulted in NG by receiving this reply mail. 
   Furthermore, When “passwd” matches the password of the sender in above step S 8 , output destination decision section  9  outputs a G 3  FAX output OK message to reply message creation section  7  and at the same time it hands over the telephone number set between “#” and “@” of the mail address and the first PAGE to FAX  21 . FAX  21  dials up the indicated telephone number and after the line is established, transmits image information in page units. When it confirms that the entire page has been transmitted correctly, FAX  21  notifies it to reply message creation section  7 . 
   Upon receiving the message indicating that the entire page has been transmitted correctly from FAX  21 , reply message creation section  7  reads out the message indicating that transmission from fixed form text memory  8  to the G 3  FAX has been successful and creates reply mail, incorporates the start page from memory  4  via message ID/text extraction section  6  and attaches it to the reply mail (S 9 ). This reply mail is transmitted from transmission section  3  to the sender (S 16 ). This allows the sender to confirm by receiving this reply mail that the transfer to the G 3  FAX has been successful. 
   Once the error message or delivery status notification message has been processed in above steps S 3 , S 4 , S 9 , S 10 , S 11  and S 14 , the corresponding mail is removed from the mail server (S 15 ). 
   In the above explanation, the error message is transmitted to the sender by reply mail, but the Internet FAX can be set so that instead of returning the error message to the sender, the error message may be sent do the administrator. 
     FIG. 8  shows a flow chart when an error message is returned to the administrator terminal. As shown in said figure, the setting is checked upon reception of data to decide whether or not the setting is made so that the result may be returned to the sender when it receives data that cannot be handled by the IFAX. When it is set that the result may be returned to the sender, processing is carried out according to  FIG. 4 . 
   On the other hand, When it is set that the result will not be returned to the sender, reply message creation section  7  creates a message indicating “data cannot be handled by the IFAX.” The account that stores the received E-mail that could not be opened and the mail address of the sender are included in this mail. This mail is transmitted from transmission section  3  to the administrator terminal. 
   At the administrator terminal that received the above mail, the administrator extracts the account included in the received mail and processes it When the administrator terminal can process it, and When not, it notifies to the sender address included in the received mail that it could not process the received mail. In this way, the error message is delivered to the sender. 
   As described above in detail, the present invention can provide an Internet FAX that can accurately and simply notify the data that resulted in an error or data that have been received successfully to the sender.