[go: up one dir, main page]

JP4301263B2 - Network device and computer program - Google Patents

Network device and computer program Download PDF

Info

Publication number
JP4301263B2
JP4301263B2 JP2006223450A JP2006223450A JP4301263B2 JP 4301263 B2 JP4301263 B2 JP 4301263B2 JP 2006223450 A JP2006223450 A JP 2006223450A JP 2006223450 A JP2006223450 A JP 2006223450A JP 4301263 B2 JP4301263 B2 JP 4301263B2
Authority
JP
Japan
Prior art keywords
setting data
communication
mail
test
communication setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006223450A
Other languages
Japanese (ja)
Other versions
JP2008046975A (en
Inventor
哲 柳
康博 工藤
正明 日比野
昇平 辻本
健 伊崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2006223450A priority Critical patent/JP4301263B2/en
Priority to US11/838,372 priority patent/US7756937B2/en
Priority to EP07253259.1A priority patent/EP1890449B1/en
Publication of JP2008046975A publication Critical patent/JP2008046975A/en
Application granted granted Critical
Publication of JP4301263B2 publication Critical patent/JP4301263B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Description

本発明は、通信ネットワークに接続されて利用されるネットワーク装置に関する。   The present invention relates to a network device used by being connected to a communication network.

インターネット等に接続されている複数のネットワーク装置の間で電子メールを通信(送信及び/又は受信)することが広く行なわれている。ネットワーク装置を利用して電子メールを通信するためには、様々な種類の通信設定データをネットワーク装置に記憶させておく必要がある。例えば、電子メール通信サーバを特定するデータ、ユーザを特定するデータ、パスワード、ユーザ認証方式を特定するデータ等をネットワーク装置に記憶させる必要がある。ネットワーク装置は、記憶している通信設定データを利用して電子メールを通信する。下記の特許文献1には、ネットワーク装置の一例が開示されている。   Communication (transmission and / or reception) of electronic mail is widely performed between a plurality of network devices connected to the Internet or the like. In order to communicate electronic mail using a network device, it is necessary to store various types of communication setting data in the network device. For example, data specifying an e-mail communication server, data specifying a user, password, data specifying a user authentication method, and the like need to be stored in a network device. The network device communicates electronic mail using the stored communication setting data. The following Patent Document 1 discloses an example of a network device.

特開2000−330890号公報JP 2000-330890 A

ユーザは、ネットワーク装置に記憶されている通信設定データを変更したい場合に、新しい通信設定データをネットワーク装置に入力する。ネットワーク装置は、新しい通信設定データを記憶し、新しい通信設定データを利用して通信機能(上記の例では電子メールの通信機能)を実行する。
上述したように、通信設定データは、多数の種類のデータを含んでいる。このために、人為的な入力ミスが発生することがある。ネットワーク装置は、通信設定データを入力する段階では、その通信設定データが正常に機能するものであるのか否かを判断することができない。ネットワーク装置は、正常に機能しない通信設定データが入力されても、その通信設定データを利用して実際に通信機能を試行してみるまでは、その通信設定データが正常に機能しないものであることを知ることができない。ネットワーク装置は、新しい通信設定データを利用して通信機能を試行する場合、正常に機能していた古い通信設定データを利用して通信機能を実行することができなくなる。このために、ネットワーク装置は、正常に機能しない通信設定データが入力されると、通信機能を実行することができなくなる。
When the user wants to change the communication setting data stored in the network device, the user inputs new communication setting data to the network device. The network device stores new communication setting data, and executes a communication function (e-mail communication function in the above example) using the new communication setting data.
As described above, the communication setting data includes many types of data. For this reason, an artificial input error may occur. At the stage of inputting the communication setting data, the network device cannot determine whether or not the communication setting data functions normally. Even if communication setting data that does not function normally is input to the network device, the communication setting data does not function normally until the communication function is tried using the communication setting data. I can't know. When trying a communication function using new communication setting data, the network device cannot execute the communication function using old communication setting data that has been functioning normally. For this reason, the network device cannot execute the communication function when communication setting data that does not function normally is input.

本発明は、上記した実情に鑑みてなされたものであり、ネットワーク装置が通信機能を実行することができなくなる事象が発生することを抑制することができる技術を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technique capable of suppressing the occurrence of an event in which a network device cannot execute a communication function.

本発明は、電子メールの送信及び受信を実行することが可能であるネットワーク装置である。ネットワーク装置は、電子メールの送信及び受信を実行するための第1通信設定データを記憶する第1記憶領域と、前記第1通信設定データを利用して電子メールの送信及び受信を実行することが可能である通信手段と、前記通信手段によって受信された電子メールを解析することによって、電子メールの送信及び受信を実行するための第2通信設定データを特定する電子メール解析手段と、前記電子メール解析手段によって特定された前記第2通信設定データを記憶する第2記憶領域と、前記第1通信設定データを利用して前記通信手段が電子メールの送信及び受信を実行することができる状態を維持しながら、前記第2通信設定データを利用して電子メールの送信及び受信を実行することができるか否かをテストすることが可能である通信テスト手段とを備える。前記通信手段によって受信された前記電子メールは、電子メールの送信テストを実行するのか否かを示す第1情報と、電子メールの受信テストを実行するのか否かを示す第2情報とを含んでいる。前記通信テスト手段は、前記通信手段によって受信された前記電子メールに含まれる前記第1情報が電子メールの送信テストを実行することを示す場合には、前記第2通信設定データに含まれる「電子メールの送信を実行するための通信設定データ」に基づいて、電子メールの送信を実行することができるか否かをテストする。前記通信テスト手段は、前記通信手段によって受信された前記電子メールに含まれる前記第2情報が電子メールの受信テストを実行することを示す場合には、前記第2通信設定データに含まれる「電子メールの受信を実行するための通信設定データ」に基づいて、電子メールの受信を実行することができるか否かをテストする。
図1を参照して、本発明の他の態様の内容を説明する。図1は、本発明の他の態様のネットワーク装置の構成を簡単に示したものである。なお、図1は、あくまで本発明の他の態様の構成を例示するものである。図1の内容及びそれに関する以下の説明によって、本発明の技術的範囲が限定的に解釈されることはない。本発明の技術的範囲は、特許請求の範囲に記載された事項によって客観的に定められる。
ネットワーク装置10は、通信ネットワークに接続されて利用されるとともに、その通信ネットワークを利用した通信機能を実行する。ネットワーク装置10は、入力手段12と記憶手段14と通信手段16と通信テスト手段18を有する。入力手段12は、通信機能を実行するための通信設定データを入力する。通信設定データは、ネットワーク装置10に設けられている操作パネル(図示省略)をユーザが操作することによって入力されるものでもよい。また、図1に示されるように、入力手段12は、端末装置30から出力された通信設定データを入力してもよい。
記憶手段14は、少なくとも2つのパターンの通信設定データを記憶することが可能である。図1の例では、第1パターンの通信設定データと第2パターンの通信設定データが記憶されている。
通信手段16は、記憶手段14に記憶されている一方のパターンの通信設定データ(例えば第1パターンの通信設定データ)を利用して通信機能を実行する。
通信テスト手段18は、上記の一方のパターンの通信設定データを利用して通信手段16が通信機能を実行することができる状態を維持しながら、記憶手段14に記憶されている他方のパターンの通信設定データ(例えば第2パターンの通信設定データ)を利用して通信機能を実行することができるのか否かをテストする。
The present invention is a network apparatus capable of executing transmission and reception of electronic mail. The network device may execute transmission and reception of an e-mail using a first storage area for storing first communication setting data for executing transmission and reception of an e-mail, and the first communication setting data. Possible communication means, and by analyzing the e-mail received by the communication means, e-mail analysis means for specifying second communication setting data for executing transmission and reception of e-mail, and the e-mail A second storage area for storing the second communication setting data specified by the analysis means and a state in which the communication means can send and receive e-mails using the first communication setting data are maintained. However, it is possible to test whether e-mail transmission and reception can be executed using the second communication setting data. And a test means. The e-mail received by the communication means includes first information indicating whether or not to execute an e-mail transmission test and second information indicating whether or not to execute an e-mail reception test. Yes. When the first information included in the electronic mail received by the communication means indicates that an electronic mail transmission test is to be executed, the communication test means includes “electronic” included in the second communication setting data. Based on “communication setting data for executing transmission of mail”, it is tested whether or not transmission of electronic mail can be executed. If the second information included in the electronic mail received by the communication means indicates that the electronic mail reception test is to be executed, the communication test means includes “electronic Based on “communication setting data for executing mail reception”, it is tested whether or not reception of electronic mail can be executed.
The contents of another aspect of the present invention will be described with reference to FIG. FIG. 1 simply shows the configuration of a network device according to another aspect of the present invention. FIG. 1 merely illustrates the configuration of another aspect of the present invention. The technical scope of the present invention is not limitedly interpreted by the contents of FIG. 1 and the following description related thereto. The technical scope of the present invention is objectively determined by the matters described in the claims.
The network device 10 is used by being connected to a communication network, and executes a communication function using the communication network. The network device 10 includes an input unit 12, a storage unit 14, a communication unit 16, and a communication test unit 18. The input unit 12 inputs communication setting data for executing a communication function. The communication setting data may be input by a user operating an operation panel (not shown) provided in the network device 10. Further, as illustrated in FIG. 1, the input unit 12 may input the communication setting data output from the terminal device 30.
The storage unit 14 can store communication setting data of at least two patterns. In the example of FIG. 1, communication setting data of the first pattern and communication setting data of the second pattern are stored.
The communication unit 16 executes the communication function using the communication setting data of one pattern (for example, the communication setting data of the first pattern) stored in the storage unit 14.
The communication test means 18 maintains the state in which the communication means 16 can execute the communication function using the communication setting data of one pattern described above, while the communication of the other pattern stored in the storage means 14 It is tested whether the communication function can be executed using the setting data (for example, the communication setting data of the second pattern).

通信手段16は、記憶手段14に記憶されている第1パターンの通信設定データを利用して通信機能を実行することができる。例えば、電子メールを送信及び/又は受信することができる。ユーザは、第1パターンの通信設定データが記憶手段14に記憶されている間に、第2パターンの通信設定データをネットワーク装置10に入力することができる。この場合、通信テスト手段18は、第2パターンの通信設定データが正常に機能するものであるのか否かをテストすることができる。ユーザは、第2パターンの通信設定データを通信手段16に利用させることを指示する前に、第2パターンの通信設定データをテストすることができる。例えば、第2パターンの通信設定データが正常に機能するものではないというテスト結果が得られた場合、ユーザは、第2パターンの通信設定データを通信手段16に利用させることを禁止することができる。本技術によると、正常に機能しない通信設定データが通信手段16によって利用される事象が発生することを抑制することができる。このために、ネットワーク装置が通信機能を実行することができなくなる事象が発生することを抑制することができる。   The communication unit 16 can execute the communication function by using the first pattern communication setting data stored in the storage unit 14. For example, an email can be sent and / or received. The user can input the communication setting data of the second pattern to the network device 10 while the communication setting data of the first pattern is stored in the storage unit 14. In this case, the communication test means 18 can test whether the second pattern of communication setting data functions normally. The user can test the communication setting data of the second pattern before instructing the communication unit 16 to use the communication setting data of the second pattern. For example, when a test result that the second pattern communication setting data does not function normally is obtained, the user can prohibit the communication unit 16 from using the second pattern communication setting data. . According to the present technology, it is possible to prevent an event in which communication setting data that does not function normally is used by the communication unit 16. For this reason, it is possible to suppress the occurrence of an event in which the network device cannot execute the communication function.

従来のネットワーク装置では、新しい通信設定データが正常に機能しないものである場合に、正常に機能する通信設定データを利用して通信するようにネットワーク装置に指示する作業をユーザが行なう必要がある。例えば、新しい通信設定データを修正する作業や、正常に機能していた古い通信設定データを再入力する作業が必要になる。正常に機能していた古い通信設定データがネットワーク装置に保存されている場合であっても、古い通信設定データを利用するようにネットワーク装置に指示する作業が必要になる。これらの作業を行なうまでに時間がかかる可能性がある。従来のネットワーク装置は、通信手段が通信機能を実行することができない状態が長時間に亘って維持される可能性がある。
これに対し、本発明のネットワーク装置10は、第2パターンの通信設定データをテストする場合でも、第1パターンの通信設定データを利用して通信手段16が通信機能を実行することができる状態が維持される。この「通信手段16が通信機能を実行することができる状態が維持される」とは、以下のいずれかの事象を含む。
(1)本発明の1つの形態では、1つの制御装置によって通信手段16と通信テスト手段18が兼用される。この場合、通信手段16は、通信テスト手段18が第2パターンの通信設定データをテストしている間でも、割り込み処理を実行して第1パターンの通信設定データを利用して通信機能を実行するようにプログラムされている。
(2)通信テスト手段18が第2パターンの通信設定データをテストしている間は、通信手段16が通信機能を実行することができなくてもよい。通信手段16は、第2パターンの通信設定データが正常に機能しないというテスト結果が得られた場合、第1パターンの通信設定データを継続して利用し続けるようにプログラムされている。即ち、通信手段16は、テスト結果が得られた後に、第1パターンの通信設定データを利用するように指示する作業をユーザが行なわなくても、第1パターンの通信設定データを自動的に利用する。なお、通信手段16は、第2パターンの通信設定データが正常に機能するというテスト結果が得られた場合、第1パターンの通信設定データを継続して利用し続けてもよいし、第1パターンの通信設定データを利用するのを中止して第2パターンの通信設定データを利用するようにしてもよい。
(3)通信手段16と通信テスト手段18が、別々の制御装置によって構成される。通信手段16と通信テスト手段18は、同時に並行して処理を実行することができる。
本発明のネットワーク装置によると、通信テスト手段18がテストを実行する場合でも、通信手段16が通信機能を実行することができる状態が維持される。このために、通信手段16が長時間に亘って通信機能を実行することができない事象が発生することを効果的に抑制することができる。
In the conventional network device, when new communication setting data does not function normally, it is necessary for the user to instruct the network device to communicate using the communication setting data that functions normally. For example, it is necessary to modify new communication setting data or re-enter old communication setting data that has been functioning normally. Even when old communication setting data that has been functioning normally is stored in the network device, it is necessary to instruct the network device to use the old communication setting data. It may take time to perform these operations. In the conventional network device, there is a possibility that a state where the communication unit cannot execute the communication function is maintained for a long time.
On the other hand, the network device 10 of the present invention is in a state where the communication means 16 can execute the communication function using the communication setting data of the first pattern even when testing the communication setting data of the second pattern. Maintained. “The state in which the communication unit 16 can execute the communication function is maintained” includes any of the following events.
(1) In one form of this invention, the communication means 16 and the communication test means 18 are combined by one control apparatus. In this case, the communication unit 16 executes the interrupt process and executes the communication function using the first pattern communication setting data even while the communication test unit 18 tests the second pattern communication setting data. Is programmed to do so.
(2) While the communication test means 18 is testing the communication setting data of the second pattern, the communication means 16 may not be able to execute the communication function. The communication means 16 is programmed to continue to use the communication setting data of the first pattern when the test result that the communication setting data of the second pattern does not function normally is obtained. That is, after the test result is obtained, the communication means 16 automatically uses the first pattern communication setting data even if the user does not instruct to use the first pattern communication setting data. To do. The communication means 16 may continue to use the first pattern communication setting data when the test result that the second pattern communication setting data functions normally is obtained. The communication setting data of the second pattern may be stopped and the communication setting data of the second pattern may be used.
(3) The communication means 16 and the communication test means 18 are configured by separate control devices. The communication means 16 and the communication test means 18 can execute processing simultaneously in parallel.
According to the network device of the present invention, even when the communication test unit 18 executes a test, a state in which the communication unit 16 can execute the communication function is maintained. For this reason, it is possible to effectively suppress the occurrence of an event in which the communication unit 16 cannot execute the communication function for a long time.

通信設定データには、第1コード又は第2コードが付加されていてもよい。記憶手段14は、第1記憶領域14aと第2記憶領域14bを有していてもよい。記憶手段14は、第1コードが付加されている通信設定データが入力された場合に当該通信設定データを第1記憶領域14aに記憶し、第2コードが付加されている通信設定データが入力された場合に当該通信設定データを第2記憶領域14bに記憶するようにしてもよい。
この場合、通信手段16は、第1記憶領域14aに記憶されている通信設定データを利用して通信機能を実行する。通信テスト手段18は、第1記憶領域14aに記憶されている通信設定データを維持しながら、第2記憶領域14bに記憶されている通信設定データを利用して通信機能を実行することができるのか否かをテストする。
この構成によると、テスト用の通信設定データが入力されたのか否かをネットワーク装置10が判断することができる。第1記憶領域14aの記憶内容が維持されながらテストが実行されるために、第1パターンの通信設定データを利用して通信手段16が通信機能を実行することができる状態が維持される。
The first code or the second code may be added to the communication setting data. The storage means 14 may have a first storage area 14a and a second storage area 14b. When the communication setting data to which the first code is added is input, the storage unit 14 stores the communication setting data in the first storage area 14a, and the communication setting data to which the second code is added is input. In this case, the communication setting data may be stored in the second storage area 14b.
In this case, the communication unit 16 executes the communication function using the communication setting data stored in the first storage area 14a. Can the communication test means 18 execute the communication function using the communication setting data stored in the second storage area 14b while maintaining the communication setting data stored in the first storage area 14a? Test for no.
According to this configuration, the network device 10 can determine whether or not test communication setting data has been input. Since the test is executed while the stored contents of the first storage area 14a are maintained, the state in which the communication unit 16 can execute the communication function using the communication setting data of the first pattern is maintained.

通信テスト手段18は、第2記憶領域14bに記憶されている第2パターンの通信設定データを利用して通信機能を実行可能であるというテスト結果が得られた場合に、第1記憶領域14aに記憶されている通信設定データを第2パターンの通信設定データに更新するようにしてもよい。
このようにすると、正常に機能する第2パターンの通信設定データが第1記憶領域14aに自動的に記憶される。第2パターンの通信設定データを利用して通信機能を実行するように指示する作業をユーザが行なわなくてもよい。
When the test result indicating that the communication function can be executed using the communication setting data of the second pattern stored in the second storage area 14b is obtained, the communication test means 18 stores in the first storage area 14a. The stored communication setting data may be updated to the second pattern of communication setting data.
If it does in this way, the communication setting data of the 2nd pattern which functions normally will be memorized automatically in the 1st storage area 14a. The user does not have to perform an operation of instructing to execute the communication function using the communication setting data of the second pattern.

ネットワーク装置10は、上記の通信ネットワークと異なる通信ネットワークによって少なくとも1つの端末装置30と通信可能に接続されてもよい。例えば、上記の通信ネットワークがインターネットである場合、ネットワーク装置10と端末装置30は、LAN回線によって接続されてもよい。この場合、入力手段12は、端末装置30から出力された通信設定データを上記の異なる通信ネットワーク経由で入力してもよい。
一方において、ネットワーク装置10は、上記の通信ネットワークによって少なくとも1つの端末装置30と通信可能に接続されてもよい。この場合、入力手段12は、上記の第1パターンの通信設定データを利用して通信手段16が通信機能を実行することによって、端末装置30から出力された第2パターンの通信設定データを上記の通信ネットワーク経由で入力してもよい。
なお、ネットワーク装置10は、上記の通信ネットワークによって端末装置30に接続されているとともに、それと異なる通信ネットワークによって端末装置30に接続されていてもよい。この場合、ネットワーク装置10は、上記の通信ネットワーク経由でも端末装置30と通信することができるとともに、上記の異なる通信ネットワーク経由でも端末装置30と通信することができる。
The network device 10 may be communicably connected to at least one terminal device 30 through a communication network different from the communication network described above. For example, when the communication network is the Internet, the network device 10 and the terminal device 30 may be connected by a LAN line. In this case, the input unit 12 may input the communication setting data output from the terminal device 30 via the different communication network.
On the other hand, the network device 10 may be communicably connected to at least one terminal device 30 through the communication network. In this case, the input unit 12 uses the first pattern communication setting data to execute the communication function of the communication unit 16, and thus the second pattern communication setting data output from the terminal device 30 is input to the input unit 12. You may input via a communication network.
The network device 10 may be connected to the terminal device 30 through the communication network described above, and may be connected to the terminal device 30 through a different communication network. In this case, the network device 10 can communicate with the terminal device 30 via the communication network, and can communicate with the terminal device 30 via the different communication network.

ネットワーク装置10は、電子メール解析手段20をさらに備えていてもよい。上記の通信ネットワークは、インターネットであってもよい。通信設定データは、電子メールの送信及び受信の少なくとも一方を実行するための設定データを含んでいてもよい。この場合、入力手段12は、第1パターンの通信設定データを利用して通信手段16が通信機能を実行することによって、端末装置30から出力された電子メールを入力してもよい。電子メール解析手段20は、入力された電子メールを解析することによって当該電子メールに含まれる通信設定データを特定する。記憶手段14は、電子メール解析手段20によって特定された通信設定データを記憶する。
この構成によると、端末装置30のユーザは、電子メールを送信することによって、ネットワーク装置10に通信設定データを記憶させることができる。
The network device 10 may further include electronic mail analysis means 20. The communication network may be the Internet. The communication setting data may include setting data for executing at least one of transmission and reception of electronic mail. In this case, the input unit 12 may input the e-mail output from the terminal device 30 when the communication unit 16 executes the communication function using the communication setting data of the first pattern. The e-mail analysis unit 20 identifies communication setting data included in the e-mail by analyzing the input e-mail. The storage unit 14 stores the communication setting data specified by the electronic mail analysis unit 20.
According to this configuration, the user of the terminal device 30 can store communication setting data in the network device 10 by transmitting an e-mail.

ネットワーク装置10は、通信テスト手段18のテスト結果を出力する出力手段22をさらに備えることが好ましい。
この構成によると、ユーザがテスト結果を知ることができる。なお、ここでの「出力」は、テスト結果を表示することや、テスト結果を他の装置に出力することを含む。なお、電子メールが解析されることによって通信設定データが記憶手段14に記憶された場合は、その通信設定データのテスト結果をその電子メールの送信元アドレスに返信するようにしてもよい。
The network device 10 preferably further includes an output unit 22 that outputs a test result of the communication test unit 18.
According to this configuration, the user can know the test result. Here, “output” includes displaying the test result and outputting the test result to another apparatus. When the communication setting data is stored in the storage unit 14 by analyzing the e-mail, the test result of the communication setting data may be returned to the source address of the e-mail.

上述したように、入力手段12は、端末装置30から出力された通信設定データを入力してもよい。通信テスト手段18は、その端末装置30から出力された通信設定データを利用して通信機能を実行することができるか否かをテストしてもよい。この場合、出力手段22は、通信テスト手段18のテスト結果を上記の端末装置30に出力することが好ましい。
このようにすると、端末装置30がテスト結果を表示することができる。ユーザは、端末装置30に表示されたテスト結果を見ることによって、通信設定データが正常に機能するものであるのか否かを知ることができる。
As described above, the input unit 12 may input the communication setting data output from the terminal device 30. The communication test means 18 may test whether the communication function can be executed using the communication setting data output from the terminal device 30. In this case, the output unit 22 preferably outputs the test result of the communication test unit 18 to the terminal device 30 described above.
If it does in this way, terminal unit 30 can display a test result. The user can know whether or not the communication setting data functions normally by looking at the test result displayed on the terminal device 30.

通信ネットワークがインターネットである場合、通信設定データは、電子メールの送信及び受信の少なくとも一方を実行するためのサーバ32を特定するデータ(例えばサーバ32のアドレス)を含んでいてもよい。
この場合、通信テスト手段18は、以下の(1)から(5)のいずれかの処理を実行することによって、通信設定データが正常に機能するものであるのか否かをテストしてもよい。なお、通信テスト手段18は、以下の(1)から(5)の処理を組み合わせてテストしてもよい。
When the communication network is the Internet, the communication setting data may include data (for example, an address of the server 32) specifying the server 32 for executing at least one of transmission and reception of electronic mail.
In this case, the communication test means 18 may test whether the communication setting data functions normally by executing any one of the following processes (1) to (5). The communication test means 18 may test by combining the following processes (1) to (5).

(1)通信テスト手段18は、第2パターンの通信設定データに含まれるサーバ32に信号を出力し、その応答を監視することによって、サーバ32を利用して電子メールを通信することができるのかをテストしてもよい。 (1) Can the communication test means 18 communicate the e-mail using the server 32 by outputting a signal to the server 32 included in the communication setting data of the second pattern and monitoring the response? May be tested.

(2)通信設定データは、ユーザ特定情報とパスワードをさらに含んでいてもよい。この場合、通信テスト手段18は、第2パターンの通信設定データに含まれるユーザ特定情報とパスワードが、第2パターンの通信設定データに含まれるサーバ32に登録されているのか否かを判断することによって、サーバ32を利用して電子メールを通信することができるのかをテストしてもよい。 (2) The communication setting data may further include user identification information and a password. In this case, the communication test unit 18 determines whether or not the user specifying information and the password included in the second pattern communication setting data are registered in the server 32 included in the second pattern communication setting data. The server 32 may be used to test whether e-mail can be communicated.

(3)通信設定データは、ユーザ認証方式を特定するデータをさらに含んでいてもよい。この場合、通信テスト手段18は、第2パターンの通信設定データに含まれるユーザ認証方式が、第2パターンの通信設定データに含まれるサーバ32が実行可能なユーザ認証方式に一致するのか否かを判断することによって、サーバ32を利用して電子メールを通信することができるのかをテストしてもよい。 (3) The communication setting data may further include data for specifying the user authentication method. In this case, the communication test unit 18 determines whether or not the user authentication method included in the communication setting data of the second pattern matches the user authentication method executable by the server 32 included in the communication setting data of the second pattern. By determining, it may be tested whether the electronic mail can be communicated using the server 32.

(4)通信設定データは、ユーザ認証方式を特定するデータをさらに含んでいてもよい。この場合、通信テスト手段18は、第2パターンの通信設定データに含まれるユーザ認証方式がSMTP−AUTHである場合に、第2パターンの通信設定データに含まれる電子メール送信サーバ32が実行可能なSMTP−AUTHの認証メカニズムのリストを取得し、そのリストの中に含まれる認証メカニズム群の中でセキュリティレベルが高いものから優先的に電子メール送信サーバ32にユーザ認証を実行させることによって、電子メール送信サーバ32がいずれかの認証メカニズムを利用して電子メールを送信することができるのかをテストしてもよい。 (4) The communication setting data may further include data for specifying the user authentication method. In this case, the communication test means 18 can execute the e-mail transmission server 32 included in the communication setting data of the second pattern when the user authentication method included in the communication setting data of the second pattern is SMTP-AUTH. By obtaining a list of SMTP-AUTH authentication mechanisms and causing the e-mail transmission server 32 to perform user authentication preferentially from the authentication mechanism group included in the list with the highest security level, e-mail It may be tested whether the sending server 32 can send an e-mail using any authentication mechanism.

(5)第2パターンの通信設定データは、電子メールの送信先のメールアドレスをさらに含んでいてもよい。この場合、通信テスト手段18は、第2パターンの通信設定データに含まれる電子メール送信サーバ32を利用して第2パターンの通信設定データに含まれるメールアドレスに電子メールを送信することを試行することによって、電子メール送信サーバ32を利用して電子メールを送信することができるか否かをテストしてもよい。 (5) The communication setting data of the second pattern may further include a mail address of an electronic mail transmission destination. In this case, the communication test means 18 attempts to send an e-mail to the e-mail address included in the second pattern communication setting data using the e-mail transmission server 32 included in the second pattern communication setting data. Accordingly, it may be tested whether or not an electronic mail can be transmitted using the electronic mail transmission server 32.

次のコンピュータプログラムも、本発明者らによって創作された有用な技術である。通信ネットワークに接続されて利用されるネットワーク装置のためのコンピュータプログラムを提供する。このコンピュータプログラムは、上記のネットワーク装置に搭載されるコンピュータに、以下の各工程を実行させる。
(1)少なくとも2つのパターンの通信設定データを記憶手段に記憶させる記憶工程。
(2)記憶手段に記憶されている一方のパターンの通信設定データを利用して、通信ネットワークを利用した通信機能を実行する通信工程。
(3)上記の一方のパターンの通信設定データを利用して通信工程を実行することができる状態を維持しながら、記憶手段に記憶されている他方のパターンの通信設定データを利用して通信機能を実行することができるか否かをテストする通信テスト工程。
このコンピュータプログラムを利用すると、通信機能を実行することができなくなる事象が発生しにくいネットワーク装置を実現することができる。
The following computer program is also a useful technique created by the present inventors. Provided is a computer program for a network device that is used by being connected to a communication network. This computer program causes a computer mounted on the network device to execute the following steps.
(1) A storage step of storing at least two patterns of communication setting data in the storage means.
(2) A communication step of executing a communication function using a communication network using the communication setting data of one pattern stored in the storage means.
(3) A communication function using the communication setting data of the other pattern stored in the storage means while maintaining a state in which the communication process can be executed using the communication setting data of the one pattern. A communication test process for testing whether or not it can be executed.
By using this computer program, it is possible to realize a network device in which an event that makes it impossible to execute a communication function is unlikely to occur.

また、次のシステムも有用である。このシステムは、少なくとも1つの端末装置30と、ネットワーク装置10を備える。ネットワーク装置10は、端末装置30と通信可能に接続され、かつ、通信ネットワークに接続されており、その通信ネットワークを利用した通信機能を実行する
端末装置30は、上記の通信機能を実行するための通信設定データを出力する手段を有する。ネットワーク装置10は、端末装置30から出力された通信設定データを入力する入力手段12と、少なくとも2つのパターンの通信設定データを記憶することが可能である記憶手段14と、記憶手段14に記憶されている一方のパターンの通信設定データを利用して通信機能を実行する通信手段16と、上記の一方のパターンの通信設定データを利用して通信手段16が通信機能を実行することができる状態を維持しながら、記憶手段14に記憶されている他方のパターンの通信設定データを利用して通信機能を実行することができるか否かをテストする通信テスト手段18とを有する。
このシステムを利用すると、ネットワーク装置10が通信機能を実行することができなくなる事象が発生することを抑制することができる。
The following system is also useful. This system includes at least one terminal device 30 and a network device 10. The network device 10 is communicably connected to the terminal device 30 and is connected to the communication network, and executes a communication function using the communication network. The terminal device 30 executes the above communication function. Means for outputting communication setting data. The network device 10 stores the communication setting data output from the terminal device 30, the storage unit 14 capable of storing communication setting data of at least two patterns, and the storage unit 14. The communication means 16 that executes the communication function using the communication setting data of one pattern, and the communication means 16 that can execute the communication function using the communication setting data of the one pattern. The communication test means 18 for testing whether the communication function can be executed using the communication setting data of the other pattern stored in the storage means 14 while maintaining.
By using this system, it is possible to suppress the occurrence of an event in which the network device 10 cannot execute the communication function.

なお、上記のシステムにおいて、端末装置30が、通信命令をネットワーク装置10に出力するようにしてもよい。例えば、端末装置30は、電子メールの送信命令や受信命令をネットワーク装置10に出力するようにしてもよい。ネットワーク装置10は、通信命令を入力すると、通信機能を実行する。
さらに、このシステムでは、複数の端末装置がネットワーク装置10に接続されていてもよい。このシステムでは、1つの端末装置が通信設定データのテストをネットワーク装置10に実行させる場合でも、他の端末装置がネットワーク装置10に通信機能を実行させることが妨げられない。
In the above system, the terminal device 30 may output a communication command to the network device 10. For example, the terminal device 30 may output an e-mail transmission command or reception command to the network device 10. The network device 10 executes a communication function when a communication command is input.
Further, in this system, a plurality of terminal devices may be connected to the network device 10. In this system, even when one terminal device causes the network device 10 to execute a communication setting data test, it is not prevented that another terminal device causes the network device 10 to execute a communication function.

本発明の技術思想をより一般化すると、次のように表現することができる。即ち、本発明では、所定の機能を実行する機能実行装置を提供する。この機能実行装置は、上記の所定の機能を実行するための設定データを入力する入力手段と、少なくとも2つのパターンの設定データを記憶することが可能である記憶手段と、記憶手段に記憶されている一方のパターンの設定データを利用して上記の所定の機能を実行する第1手段と、第2手段を有する。第2手段は、上記の一方のパターンの設定データを利用して第1手段が上記の所定の機能を実行することができる状態を維持しながら、記憶手段に記憶されている他方のパターンの設定データを利用して上記の所定の機能を実行することができるか否かをテストする。
この技術を利用すると、機能実行装置が上記の所定の機能を実行することができなくなる事象が発生することを抑制することができる。
When the technical idea of the present invention is generalized, it can be expressed as follows. That is, the present invention provides a function execution device that executes a predetermined function. The function execution device includes an input unit that inputs setting data for executing the predetermined function, a storage unit that can store setting data of at least two patterns, and a storage unit that stores the setting data. The first means for executing the predetermined function using the setting data of one of the patterns, and the second means. The second means uses the setting data of the one pattern to maintain the state in which the first means can execute the predetermined function, while setting the other pattern stored in the storage means. It is tested whether the predetermined function can be executed using the data.
If this technique is used, it is possible to suppress the occurrence of an event in which the function execution apparatus cannot execute the predetermined function.

ここでは、以下の実施例に記載の技術の主要な特徴をまとめておく。
(形態1)ネットワーク装置は、インターネットに接続されて利用される複合機である。この複合機は、スキャナ装置と印刷装置を少なくとも有する。この複合機は、インターネットファクシミリとして機能する。
(形態2)複合機は、複数の端末装置と通信可能に接続されている。複合機は、各端末装置から出力された電子メール通信命令(送信命令及び/又は受信命令)を入力し、入力された通信命令に従って電子メール通信処理(送信処理及び/又は受信処理)を実行する。
(形態3)端末装置は、複合機のための通信設定データを入力するためのソフトウェアを記憶している。ユーザは、ソフトウェアを起動させることによって、通信設定データを容易に入力することができる。
(形態4)複合機は、実行不可能であるというテスト結果が得られた場合に、その原因を記憶する記憶領域を有する。複合機は、上記の原因を出力する。
Here, the main features of the techniques described in the following examples are summarized.
(Mode 1) A network device is a multifunction device that is connected to the Internet and used. This multifunction device has at least a scanner device and a printing device. This multifunction device functions as an Internet facsimile machine.
(Mode 2) The multi-function peripheral is communicably connected to a plurality of terminal devices. The multi-function device inputs an e-mail communication command (transmission command and / or reception command) output from each terminal device, and executes an e-mail communication process (transmission processing and / or reception processing) according to the input communication command. .
(Mode 3) The terminal device stores software for inputting communication setting data for the multifunction peripheral. The user can easily input the communication setting data by starting the software.
(Mode 4) The MFP has a storage area for storing the cause when a test result indicating that it cannot be executed is obtained. The multi-function peripheral outputs the above cause.

(第1実施例)
図面を参照して本発明の第1実施例を説明する。図2は、本実施例のネットワークシステム40の構成を簡単に示す。ネットワークシステム40は、複合機50と端末装置70とPOP3サーバ80とSMTPサーバ82とLDAPサーバ86等を有する。
(First embodiment)
A first embodiment of the present invention will be described with reference to the drawings. FIG. 2 simply shows the configuration of the network system 40 of the present embodiment. The network system 40 includes a multi-function device 50, a terminal device 70, a POP3 server 80, an SMTP server 82, an LDAP server 86, and the like.

(複合機の構成)
複合機50は、スキャナ装置52と制御装置54と記憶装置56と表示装置58と操作装置60と印刷装置62と入出力ポート64等を有する。
スキャナ装置52は、CCD(Charge Coupled Device)又はCIS(Contact Image Sensor)を有する。スキャナ装置52は、原稿をスキャンして画像データを生成する。
制御装置54は、CPU等によって構成されている。制御装置54は、複合機50が実行する各処理を統括的に制御する。
記憶装置56は、ROM、RAM、EEPROM等によって構成されている。記憶装置56は、制御装置54によって実行されるプログラムを記憶したり、そのプログラムが実行される過程で利用されるデータを一時的に記憶したりする。本実施例の記憶装置56は、主設定データ記憶領域56aと副設定データ記憶領域56bと一時的記憶領域56c等を有する。主設定データ記憶領域56aは、電子メールの通信に実際に利用される通信設定データを記憶する。副設定データ記憶領域56bは、テスト用の通信設定データを記憶する。通信設定データの具体的な内容は、後で詳しく説明する。なお、以下では、電子メールの通信に実際に利用される通信設定データのことを「主設定用の通信設定データ」と呼び、テスト用の通信設定データのことを「副設定用の通信設定データ」と呼ぶ。一時的記憶領域56cは、様々なデータを一時的に記憶することができる。例えば、スキャナ装置52によってスキャンされた画像データを記憶することができる。
表示装置58は、液晶ディスプレイ等によって構成されている。表示装置58は、様々なデータを表示することができる。
操作装置60は、複数のキーによって構成されている。ユーザは、操作装置60を操作することによって、複合機50に様々な情報を入力することができる。
印刷装置62は、スキャナ装置52によって作成された画像データを印刷媒体に印刷する。
また、詳しくは後述するが、複合機50は、電子メールを通信することができる。印刷装置62は、受信した電子メールの内容を印刷媒体に印刷することができる。
(Configuration of MFP)
The multi-function device 50 includes a scanner device 52, a control device 54, a storage device 56, a display device 58, an operation device 60, a printing device 62, an input / output port 64, and the like.
The scanner device 52 includes a CCD (Charge Coupled Device) or a CIS (Contact Image Sensor). The scanner device 52 scans a document and generates image data.
The control device 54 is configured by a CPU or the like. The control device 54 comprehensively controls each process executed by the multi-function device 50.
The storage device 56 includes a ROM, a RAM, an EEPROM, and the like. The storage device 56 stores a program executed by the control device 54 and temporarily stores data used in the process of executing the program. The storage device 56 of this embodiment includes a main setting data storage area 56a, a sub setting data storage area 56b, a temporary storage area 56c, and the like. The main setting data storage area 56a stores communication setting data actually used for e-mail communication. The sub setting data storage area 56b stores test communication setting data. Specific contents of the communication setting data will be described later in detail. In the following, communication setting data actually used for email communication is referred to as “main setting communication setting data”, and test communication setting data is referred to as “sub setting communication setting data”. " The temporary storage area 56c can temporarily store various data. For example, image data scanned by the scanner device 52 can be stored.
The display device 58 is configured by a liquid crystal display or the like. The display device 58 can display various data.
The operating device 60 includes a plurality of keys. The user can input various information to the multi-function device 50 by operating the operation device 60.
The printing device 62 prints the image data created by the scanner device 52 on a printing medium.
As will be described in detail later, the multi-function device 50 can communicate electronic mail. The printing device 62 can print the content of the received e-mail on a print medium.

入出力ポート64には、インターネット回線96aが接続されている。複合機50は、インターネット回線96aを介してインターネット90に接続されている。また、入出力ポート64には、LAN回線92aが接続されている。LAN回線92aは、端末装置70に接続されている。複合機50と端末装置70は、LAN回線92aを介して通信可能に接続されている。
図2では、1つの端末装置70しか図示されていない。しかしながら、実際は複数の端末装置70が存在する。複合機50は、複数の端末装置70のそれぞれとLAN回線92aによって通信可能に接続されている。なお、各端末装置70も、インターネット90に接続されている。従って、複合機50と端末装置70は、インターネット90を介して通信可能に接続されていることになる。
入出力ポート64は、インターネット経由又はLAN経由で様々なデータを入出力することができる。入出力ポート64は、例えば、電子メールを送信又は受信することができる。また、入出力ポート64は、端末装置70から出力される命令やデータ(例えば通信設定データ)をLAN経由で入力することができる。
An Internet line 96 a is connected to the input / output port 64. The multi-function device 50 is connected to the Internet 90 via the Internet line 96a. A LAN line 92 a is connected to the input / output port 64. The LAN line 92 a is connected to the terminal device 70. The multi-function device 50 and the terminal device 70 are communicably connected via a LAN line 92a.
In FIG. 2, only one terminal device 70 is shown. However, there are actually a plurality of terminal devices 70. The multi-function device 50 is communicably connected to each of the plurality of terminal devices 70 via a LAN line 92a. Each terminal device 70 is also connected to the Internet 90. Therefore, the multi-function device 50 and the terminal device 70 are communicably connected via the Internet 90.
The input / output port 64 can input / output various data via the Internet or via a LAN. The input / output port 64 can transmit or receive e-mail, for example. The input / output port 64 can input commands and data (for example, communication setting data) output from the terminal device 70 via the LAN.

(端末装置の構成)
端末装置70は、制御装置72と表示装置74と操作装置76と入出力ポート78等を有する。
制御装置72は、端末装置70が実行する各処理を統括的に制御する。表示装置74は、様々な情報を表示することができる。ユーザは、操作装置76を操作することによって、様々な情報を端末装置70に入力することができる。
入出力ポート78には、LAN回線92aとLAN回線92bとインターネット回線96bが接続されている。LAN回線92aは、複合機50に接続されている。LAN回線92bは、LDAPサーバ86に接続されている。端末装置70とLDAPサーバ86は、LAN回線92bを介して通信可能に接続されている。端末装置70は、インターネット回線96bを介してインターネット90に接続されている。
入出力ポート78は、インターネット経由又はLAN経由で様々なデータを入出力することができる。入出力ポート78は、例えば、電子メールを送信又は受信することができる。また、入出力ポート78は、複合機50に命令やデータ(例えば通信設定データ)をLAN経由で出力することができる。
(Configuration of terminal device)
The terminal device 70 includes a control device 72, a display device 74, an operation device 76, an input / output port 78, and the like.
The control device 72 comprehensively controls each process executed by the terminal device 70. The display device 74 can display various information. The user can input various information to the terminal device 70 by operating the operation device 76.
A LAN line 92a, a LAN line 92b, and an Internet line 96b are connected to the input / output port 78. The LAN line 92a is connected to the multi-function device 50. The LAN line 92 b is connected to the LDAP server 86. The terminal device 70 and the LDAP server 86 are communicably connected via a LAN line 92b. The terminal device 70 is connected to the Internet 90 via the Internet line 96b.
The input / output port 78 can input / output various data via the Internet or via a LAN. The input / output port 78 can transmit or receive e-mail, for example. The input / output port 78 can output commands and data (for example, communication setting data) to the multi-function device 50 via the LAN.

(サーバの構成)
POP3サーバ80は、インターネット90に接続されている。POP3サーバ80は、電子メールを受信するためのサーバである。複合機50や端末装置70に向けて送信された電子メールは、POP3サーバ80に一時的に保存される。複合機50や端末装置70は、POP3サーバ80にアクセスすることによって、POP3サーバ80に保存されている電子メールを受信することができる。
SMTPサーバ82は、インターネット90に接続されている。SMTPサーバ82は、電子メールを送信するためのサーバである。複合機50や端末装置70は、SMTPサーバ82を利用して電子メールを送信することができる。
LDAPサーバ86は、LAN回線92bに接続されている。LDAPサーバ86は、様々なデータを記憶しておくことができる。LDAPサーバ86に記憶されているデータは、端末装置70によって利用される。
(Server configuration)
The POP3 server 80 is connected to the Internet 90. The POP3 server 80 is a server for receiving electronic mail. The electronic mail transmitted to the multi-function device 50 and the terminal device 70 is temporarily stored in the POP3 server 80. The multi-function device 50 and the terminal device 70 can receive the e-mail stored in the POP3 server 80 by accessing the POP3 server 80.
The SMTP server 82 is connected to the Internet 90. The SMTP server 82 is a server for transmitting electronic mail. The multi-function device 50 and the terminal device 70 can send e-mails using the SMTP server 82.
The LDAP server 86 is connected to the LAN line 92b. The LDAP server 86 can store various data. Data stored in the LDAP server 86 is used by the terminal device 70.

(各装置から出力されるデータの種類)
続いて、端末装置70と複合機50とSMTPサーバ82とPOP3サーバ80の間で通信される信号やデータの種類について説明する。図3は、各装置50,70,80,82の間で通信される信号やデータを示す。
端末装置70は、電子メールの送信命令を複合機50に出力することができる(A1)。複合機50は、送信命令を入力すると、電子メール送信処理を実行する(A2)。複合機50は、SMTPサーバ82に対してTCP接続を実行する。次いで、複合機50は、ユーザIDやパスワード等をSMTPサーバ82に出力する。SMTPサーバ82は、SMTP−AUTHによるユーザ認証を要求している場合、ユーザIDとパスワードを利用してユーザ認証を実行する。SMTPサーバ82のユーザ認証が成功すると、複合機50は、電子メールの本文をSMTPサーバ82に出力する。複合機50は、例えば、スキャナ装置52(図2参照)によってスキャンされた画像データを記憶している。この画像データが電子メールによって送信される。複合機50は、これらの処理を経ることによって、SMTPサーバ82を経由して電子メールを送信することができる。なお、SMTPサーバ82がSMTP−AUTHによるユーザ認証を要求していない場合、SMTPサーバ82によってユーザ認証する処理がスキップされる。また、SMTPサーバ82が、SMTP−AUTHの機能を有していないが、POP before SMTPの機能を有している場合、POP3サーバ80によってユーザ認証が実行される。これらのユーザ認証については、後で詳しく説明する。
なお、本実施例では、上記の電子メール送信命令は、端末装置70からLAN回線92a(図2参照)を経由して複合機50に送られる。また、複合機50とSMTPサーバ82は、インターネット回線96aを利用して信号やデータを通信する。
(Type of data output from each device)
Next, the types of signals and data communicated among the terminal device 70, the multi-function device 50, the SMTP server 82, and the POP3 server 80 will be described. FIG. 3 shows signals and data communicated between the devices 50, 70, 80 and 82.
The terminal device 70 can output an e-mail transmission command to the multi-function device 50 (A1). When receiving the transmission command, the multi-function device 50 executes an e-mail transmission process (A2). The multi-function device 50 executes a TCP connection to the SMTP server 82. Next, the multi-function device 50 outputs the user ID, password, and the like to the SMTP server 82. When the SMTP server 82 requests user authentication by SMTP-AUTH, the SMTP server 82 performs user authentication using the user ID and password. When the user authentication of the SMTP server 82 is successful, the multi-function device 50 outputs the text of the e-mail to the SMTP server 82. The multi-function device 50 stores, for example, image data scanned by the scanner device 52 (see FIG. 2). This image data is transmitted by electronic mail. The multi-function device 50 can send an e-mail via the SMTP server 82 through these processes. If the SMTP server 82 does not request user authentication by SMTP-AUTH, the user authentication process by the SMTP server 82 is skipped. If the SMTP server 82 does not have the SMTP-AUTH function but has the POP before SMTP function, the POP3 server 80 performs user authentication. These user authentications will be described in detail later.
In this embodiment, the e-mail transmission command is sent from the terminal device 70 to the multi-function device 50 via the LAN line 92a (see FIG. 2). The multi-function device 50 and the SMTP server 82 communicate signals and data using the Internet line 96a.

端末装置70は、電子メールの受信命令を複合機50に出力することができる(B1)。複合機50は、受信命令を入力すると、電子メール受信処理を実行する(B2)。複合機50が、POP3サーバ80に対してTCP接続を実行し、ユーザIDやパスワード等をPOP3サーバ80に出力する。この点は、上記の電子メール送信処理と同様である。POP3サーバ80は、複合機50に向けて送信された電子メールを一時的に保存している。POP3サーバ80は、ユーザ認証が成功すると、保存している電子メールを複合機50に送信する。複合機50は、電子メールを受信すると、その電子メールの内容を印刷装置62によって印刷する。
なお、本実施例では、上記の電子メール受信命令は、端末装置70からLAN回線92a(図2参照)を経由して複合機50に送られる。また、複合機50とPOP3サーバ80は、インターネット回線96aを利用して信号やデータを通信する。
The terminal device 70 can output an email reception command to the multi-function device 50 (B1). When receiving the reception command, the multi-function device 50 executes an e-mail reception process (B2). The multi-function device 50 performs a TCP connection to the POP3 server 80 and outputs a user ID, a password, and the like to the POP3 server 80. This is the same as the above-described e-mail transmission process. The POP3 server 80 temporarily stores an e-mail transmitted to the multi-function device 50. When the user authentication is successful, the POP3 server 80 transmits the stored electronic mail to the multi-function device 50. When the multi-function device 50 receives the e-mail, the multi-function device 50 prints the content of the e-mail by the printing device 62.
In the present embodiment, the above-mentioned e-mail reception command is sent from the terminal device 70 to the multi-function device 50 via the LAN line 92a (see FIG. 2). The multi-function device 50 and the POP3 server 80 communicate signals and data using the Internet line 96a.

端末装置70は、主設定用の通信設定データ(送信設定データ及び受信設定データ)を複合機50に出力することができる(C1)。
図4を参照して、通信設定データの内容を詳しく説明する。端末装置70は、設定データ入力ソフトウェアを記憶している。このソフトウェアが起動されると、図4に示されるウィンドウ100が表示装置74(図2参照)に表示される。ユーザは、操作装置76(図2参照)を利用して、複合機50のための通信設定データをウィンドウ100内に入力することができる。以下では、マウスとキーボードを利用して通信設定データが入力されるものとして説明する。
通信設定データは、電子メールを送信する際に利用される送信設定データと、電子メールを受信するための受信設定データを有する。ウィンドウ100は、送信設定データを入力するための領域102と、受信設定データを入力するための領域104を有する。
The terminal device 70 can output communication setting data (transmission setting data and reception setting data) for main setting to the multi-function device 50 (C1).
The contents of the communication setting data will be described in detail with reference to FIG. The terminal device 70 stores setting data input software. When this software is activated, the window 100 shown in FIG. 4 is displayed on the display device 74 (see FIG. 2). The user can input communication setting data for the multi-function device 50 into the window 100 using the operation device 76 (see FIG. 2). In the following description, it is assumed that communication setting data is input using a mouse and a keyboard.
The communication setting data includes transmission setting data used when sending an e-mail and reception setting data for receiving the e-mail. The window 100 has an area 102 for inputting transmission setting data and an area 104 for inputting reception setting data.

送信設定データは、複数の設定項目110,112,114,116,118,120を含んでいる。
設定項目110は、SMTPサーバ82を特定するアドレスである。
設定項目112は、SMTPサーバ82のユーザ認証方式を特定するデータである。SMTPサーバ82のユーザ認証方式は、「認証なし」と「SMTP−AUTH」と「POP before SMTP」の中から選択される。
設定項目114と116は、SMTP−AUTHが選択された場合に入力されるデータである。設定項目114は、ユーザ名を特定するデータである。設定項目116は、パスワードである。ユーザ名とパスワードは、SMTPサーバ82がユーザ認証を実行する際に利用される。
設定項目118は、端末装置70の電子メールアドレスである。上述したように、システム40は、複数の端末装置70を含んでいる。各端末装置70は、固有の電子メールアドレスを有している。設定項目118には、複合機50に向けて送信設定データを出力する端末装置70の電子メールアドレスが入力される。
設定項目120は、テストメールの送信先の電子メールアドレスである。この設定項目120は、副設定用の送信設定データのみに必要とされる。即ち、主設定用の送信設定データを入力する際には、設定項目120はブランクにされる。
The transmission setting data includes a plurality of setting items 110, 112, 114, 116, 118, 120.
The setting item 110 is an address for specifying the SMTP server 82.
The setting item 112 is data for specifying the user authentication method of the SMTP server 82. The user authentication method of the SMTP server 82 is selected from “no authentication”, “SMTP-AUTH”, and “POP before SMTP”.
The setting items 114 and 116 are data input when SMTP-AUTH is selected. The setting item 114 is data for specifying a user name. The setting item 116 is a password. The user name and password are used when the SMTP server 82 performs user authentication.
The setting item 118 is an e-mail address of the terminal device 70. As described above, the system 40 includes a plurality of terminal devices 70. Each terminal device 70 has a unique electronic mail address. In the setting item 118, an e-mail address of the terminal device 70 that outputs transmission setting data to the multi-function device 50 is input.
The setting item 120 is an e-mail address of a test mail transmission destination. This setting item 120 is required only for transmission setting data for sub-setting. That is, when the main setting transmission setting data is input, the setting item 120 is blanked.

受信設定データは、複数の設定項目130,132,134,136を含んでいる。
設定項目130は、POP3サーバ80を特定するアドレスである。
設定項目132は、ユーザ名を特定するデータである。設定項目134は、パスワードである。ユーザ名とパスワードは、POP3サーバ80がユーザ認証を実行する際に利用される。
設定項目136は、POP3サーバ80のユーザ認証方式を特定するデータである。POP3サーバ80のユーザ認証方式は、「POP3認証」と「APOP認証」の中から選択される。設定項目136がクリックされてチェックされた状態(図4の状態)になると、APOP認証が選択されたことを意味する。設定項目136がブランクの場合、POP3認証が選択されたことを意味する。
The reception setting data includes a plurality of setting items 130, 132, 134, 136.
The setting item 130 is an address that identifies the POP3 server 80.
The setting item 132 is data for specifying a user name. The setting item 134 is a password. The user name and password are used when the POP3 server 80 executes user authentication.
The setting item 136 is data for specifying the user authentication method of the POP3 server 80. The user authentication method of the POP3 server 80 is selected from “POP3 authentication” and “APOP authentication”. When the setting item 136 is clicked and checked (the state shown in FIG. 4), it means that APOP authentication is selected. When the setting item 136 is blank, it means that POP3 authentication is selected.

ウィンドウ100は、複数のボタン106,108,122,138を有する。
更新ボタン106がクリックされると、ウィンドウ100内に入力された通信設定データ(送信設定データと受信設定データ)が複合機50に出力される(図3のC1参照)。この通信設定データには、主設定用であることを特定するコードが付加される。複合機50は、主設定用のコードが付加されている通信設定データを入力すると、その通信設定データを主設定データ記憶領域56aに記憶する。
キャンセルボタン108がクリックされると、ウィンドウ100内に入力された通信設定データが消去される。この場合、通信設定データは出力されない。
The window 100 has a plurality of buttons 106, 108, 122, and 138.
When the update button 106 is clicked, the communication setting data (transmission setting data and reception setting data) input in the window 100 is output to the multi-function device 50 (see C1 in FIG. 3). A code for specifying the main setting is added to the communication setting data. When receiving the communication setting data to which the main setting code is added, the multi-function device 50 stores the communication setting data in the main setting data storage area 56a.
When the cancel button 108 is clicked, the communication setting data input in the window 100 is deleted. In this case, communication setting data is not output.

送信テストボタン122がクリックされると、ウィンドウ100内に入力された送信設定データが複合機50に出力される(図3のD1)。この送信設定データには、副設定用であることを特定するコードが付加される。複合機50は、副設定用のコードが付加されている送信設定データを入力すると、その送信設定データを副設定データ記憶領域56bに記憶する。なお、図4の設定項目112においてPOP before SMTPが選択されている場合、送信設定データのみならず、受信設定データ(設定項目130〜136)も複合機50に出力される。この点については、後で詳しく説明する。
複合機50は、副設定データ記憶領域56bに記憶された送信設定データを利用して送信テスト処理を実行する(D2)。複合機50は、SMTPサーバ82と通信することによって、送信テスト結果を得る(D3)。送信テスト結果は、端末装置70に出力される(D4)。
When the transmission test button 122 is clicked, the transmission setting data input in the window 100 is output to the multi-function device 50 (D1 in FIG. 3). A code for specifying the sub-setting is added to the transmission setting data. When receiving the transmission setting data to which the sub-setting code is added, the multi-function device 50 stores the transmission setting data in the sub-setting data storage area 56b. Note that when POP before SMTP is selected in the setting item 112 of FIG. 4, not only transmission setting data but also reception setting data (setting items 130 to 136) are output to the multi-function device 50. This point will be described in detail later.
The multi-function device 50 executes the transmission test process using the transmission setting data stored in the sub-setting data storage area 56b (D2). The multi-function device 50 obtains a transmission test result by communicating with the SMTP server 82 (D3). The transmission test result is output to the terminal device 70 (D4).

受信テストボタン138がクリックされると、ウィンドウ100内に入力された受信設定データが複合機50に出力される(図3のE1)。この受信設定データには、副設定用であることを特定するコードが付加される。複合機50は、副設定用のコードが付加されている受信設定データを入力すると、その受信設定データを副設定データ記憶領域56bに記憶する。複合機50は、副設定データ記憶領域56bに記憶された受信設定データを利用して受信テスト処理を実行する(E2)。複合機50は、POP3サーバ80と通信することによって、受信テスト結果を得る(E3)。受信テスト結果は、端末装置70に出力される(E4)。   When the reception test button 138 is clicked, the reception setting data input in the window 100 is output to the multi-function device 50 (E1 in FIG. 3). The reception setting data is added with a code specifying that it is for sub-setting. When receiving the reception setting data to which the sub-setting code is added, the multi-function device 50 stores the reception setting data in the sub-setting data storage area 56b. The multi-function device 50 executes the reception test process using the reception setting data stored in the sub setting data storage area 56b (E2). The multi-function device 50 obtains a reception test result by communicating with the POP3 server 80 (E3). The reception test result is output to the terminal device 70 (E4).

(端末装置のメイン処理)
続いて、端末装置70が実行する処理の内容を詳しく説明する。以下の処理は、端末装置70の制御装置72(図2参照)によって実行される。
図5は、端末装置70が実行するメイン処理のフローチャートを示す。ユーザは、操作装置76(図2参照)を利用して様々な情報を入力することができる。端末装置70は、ユーザによって情報が入力されたか否かを監視している(S2)。情報が入力された場合(S2でYESの場合)、情報の種類に応じた処理が実行される。
端末装置70は、S2で入力された情報が複合機50から電子メールを送信することを指示するものであるのか否かを判断する(S4)。S4でYESの場合、端末装置70は、電子メールの送信命令を複合機50に出力する(S6)。このステップは、図3のA1に相当する。端末装置70は、S6を終えるとS2に戻る。
S4でNOの場合、端末装置70は、S2で入力された情報が複合機50によって電子メールを受信することを指示するものであるのか否かを判断する(S8)。S8でYESの場合、端末装置70は、電子メールの受信命令を複合機50に出力する(S10)。このステップは、図3のB1に相当する。端末装置70は、S10を終えるとS2に戻る。
(Main processing of terminal device)
Next, details of processing executed by the terminal device 70 will be described in detail. The following processing is executed by the control device 72 (see FIG. 2) of the terminal device 70.
FIG. 5 shows a flowchart of main processing executed by the terminal device 70. The user can input various information using the operation device 76 (see FIG. 2). The terminal device 70 monitors whether information is input by the user (S2). When information is input (YES in S2), processing according to the type of information is executed.
The terminal device 70 determines whether or not the information input in S2 is an instruction to send an e-mail from the multi-function device 50 (S4). If YES in S4, the terminal device 70 outputs an e-mail transmission command to the multi-function device 50 (S6). This step corresponds to A1 in FIG. The terminal device 70 returns to S2 after finishing S6.
In the case of NO in S4, the terminal device 70 determines whether or not the information input in S2 is an instruction to receive an email by the multi-function device 50 (S8). In the case of YES in S8, the terminal device 70 outputs an e-mail reception command to the multi-function device 50 (S10). This step corresponds to B1 in FIG. The terminal device 70 returns to S2 after finishing S10.

S8でNOの場合、端末装置70は、S2で入力された情報が複合機50において電子メールの送信テストを実行することを指示するものであるのか否かを判断する(S12)。このステップは、ウィンドウ100(図4参照)に送信設定データが入力された後に、送信テストボタン122がクリックされた場合に、YESと判断される。
S12でYESの場合、端末装置70は、送信テスト命令を複合機50に出力する(S14)。次いで、端末装置70は、送信設定データを複合機50に出力する(S16)。この送信設定データには、副設定用のコードが付加される。このS16のステップは、図3のD1に相当する。なお、図4の設定項目112においてPOP before SMTPが選択されている場合、S16では、送信設定データのみならず、受信設定データも複合機50に出力される。従って、ユーザは、POP before SMTPを選択する場合、受信設定データの設定項目130〜136にもデータを入力しなければならない。
S14とS16の処理が実行されると、複合機50によって送信テスト処理が実行されることになる。S16を終えると、端末装置70は、複合機50から出力された送信テスト結果を入力する(S18)。端末装置70は、送信テスト結果を表示装置74(図2参照)に表示する(S20)。ユーザは、送信テスト結果を知ることができる。端末装置70は、S20を終えるとS2に戻る。
In the case of NO in S8, the terminal device 70 determines whether or not the information input in S2 is an instruction to execute an e-mail transmission test in the multi-function device 50 (S12). This step is determined as YES when the transmission test button 122 is clicked after the transmission setting data is input to the window 100 (see FIG. 4).
If YES in S12, the terminal device 70 outputs a transmission test command to the multi-function device 50 (S14). Next, the terminal device 70 outputs the transmission setting data to the multi-function device 50 (S16). A sub-setting code is added to the transmission setting data. This step of S16 corresponds to D1 in FIG. If POP before SMTP is selected in the setting item 112 of FIG. 4, not only transmission setting data but also reception setting data is output to the multi-function device 50 in S16. Therefore, when the user selects POP before SMTP, the user must also input data in the setting items 130 to 136 of the reception setting data.
When the processes in S14 and S16 are executed, the transmission test process is executed by the multi-function device 50. When S16 ends, the terminal device 70 inputs the transmission test result output from the multi-function device 50 (S18). The terminal device 70 displays the transmission test result on the display device 74 (see FIG. 2) (S20). The user can know the transmission test result. The terminal device 70 returns to S2 after finishing S20.

S12でNOの場合、端末装置70は、S2で入力された情報が複合機50において電子メールの受信テストを実行することを指示するものであるのか否かを判断する(S22)。このステップは、ウィンドウ100(図4参照)に受信設定データが入力された後に、受信テストボタン138がクリックされた場合に、YESと判断される。
S22でYESの場合、端末装置70は、受信テスト命令を複合機50に出力する(S24)。次いで、端末装置70は、受信設定データを複合機50に出力する(S26)。この受信設定データには、副設定用のコードが付加される。このS26のステップは、図3のE1に相当する。S24とS26の処理が実行されると、複合機50によって受信テスト処理が実行されることになる。S26を終えると、端末装置70は、複合機50から出力された受信テスト結果を入力する(S28)。端末装置70は、受信テスト結果を表示装置74(図2参照)に表示する(S30)。ユーザは、受信テスト結果を知ることができる。端末装置70は、S30を終えるとS2に戻る。
In the case of NO in S12, the terminal device 70 determines whether the information input in S2 is an instruction to execute an e-mail reception test in the multi-function device 50 (S22). This step is determined to be YES when the reception test button 138 is clicked after the reception setting data is input to the window 100 (see FIG. 4).
If YES in S22, the terminal device 70 outputs a reception test command to the multi-function device 50 (S24). Next, the terminal device 70 outputs the reception setting data to the multi-function device 50 (S26). A sub-setting code is added to the reception setting data. This step of S26 corresponds to E1 in FIG. When the processes of S24 and S26 are executed, the reception test process is executed by the multi-function device 50. When S26 ends, the terminal device 70 inputs the reception test result output from the multi-function device 50 (S28). The terminal device 70 displays the reception test result on the display device 74 (see FIG. 2) (S30). The user can know the reception test result. The terminal device 70 returns to S2 after finishing S30.

S22でNOの場合、端末装置70は、S2で入力された情報が複合機50において主設定用の通信設定データを更新することを指示するものであるのか否かを判断する(S32)。このステップは、ウィンドウ100(図4参照)に送信設定データと受信設定データが入力された後に、更新ボタン106がクリックされた場合に、YESと判断される。
S32でYESの場合、端末装置70は、設定更新命令を複合機50に出力する(S34)。次いで、端末装置70は、送信設定データと受信設定データを複合機50に出力する(S36)。これらの通信設定データには、主設定用のコードが付加される。このS36のステップは、図3のC1に相当する。S36の処理が実行されると、複合機50が主設定用の通信設定データを更新することになる。端末装置70は、S36を終えるとS2に戻る。
S32でNOの場合、端末装置70は、S2で入力された情報が通信設定データをキャンセルすることを指示するものであるのか否かを判断する(S38)。このステップは、ウィンドウ100(図4参照)においてキャンセルボタン108がクリックされた場合に、YESと判断される。S38でYESの場合、S2に戻る。一方において、S38でNOの場合、端末装置70は、S2で入力された情報に応じた他の処理を実行する。ここで実行される他の処理は、PC等によって実行される公知の処理であるために、詳しい説明を省略する。
In the case of NO in S22, the terminal device 70 determines whether or not the information input in S2 is an instruction to update the communication setting data for main setting in the multi-function device 50 (S32). This step is determined to be YES when the update button 106 is clicked after the transmission setting data and the reception setting data are input to the window 100 (see FIG. 4).
If YES in S32, the terminal device 70 outputs a setting update command to the multi-function device 50 (S34). Next, the terminal device 70 outputs the transmission setting data and the reception setting data to the multi-function device 50 (S36). A code for main setting is added to these communication setting data. This step of S36 corresponds to C1 in FIG. When the process of S36 is executed, the multi-function device 50 updates the communication setting data for main setting. The terminal device 70 returns to S2 after finishing S36.
In the case of NO in S32, the terminal device 70 determines whether or not the information input in S2 is an instruction to cancel the communication setting data (S38). This step is determined to be YES when the cancel button 108 is clicked in the window 100 (see FIG. 4). If YES in S38, the process returns to S2. On the other hand, in the case of NO in S38, the terminal device 70 executes another process according to the information input in S2. Since the other processing executed here is a known processing executed by a PC or the like, detailed description thereof is omitted.

(複合機のメイン処理)
続いて、複合機50が実行する処理の内容を詳しく説明する。以下の処理は、複合機50の制御装置54(図2参照)によって実行される。
図6は、複合機50が実行するメイン処理のフローチャートを示す。複合機50は、端末装置70から出力された電子メール送信命令を入力したのか否かを監視している(S50)。S50でYESの場合、複合機50は、電子メール送信処理を実行する(S52)。複合機50は、主設定データ記憶領域56aに記憶されている送信設定データを利用して電子メール送信処理を実行する。例えば、複合機50は、スキャナ装置52(図2参照)によってスキャンされた画像データを記憶している。この画像データが電子メールによって送信される。電子メールの送信先は、複合機50に予め設定されていてもよいし、端末装置70から出力される電子メール送信命令に含まれるようにしてもよい。電子メールは、SMTPサーバ82を経由して送信先に送信される。S52のステップは、図3のA2に相当する。
複合機50は、端末装置70から出力された電子メール受信命令を入力したのか否かを監視している(S54)。S54でYESの場合、複合機50は、電子メール受信処理を実行する(S56)。複合機50は、主設定データ記憶領域56aに記憶されている受信設定データを利用して電子メール受信処理を実行する。複合機50は、POP3サーバ80にアクセスすることによって、POP3サーバ80を保存されている電子メールを受信することができる。S56のステップは、図3のB2に相当する。複合機50は、受信した電子メールの内容を印刷装置62(図2参照)を利用して印刷する。
(Main processing of MFP)
Next, details of processing executed by the multi-function device 50 will be described in detail. The following processing is executed by the control device 54 (see FIG. 2) of the multi-function device 50.
FIG. 6 shows a flowchart of main processing executed by the multi-function device 50. The multi-function device 50 monitors whether or not the e-mail transmission command output from the terminal device 70 has been input (S50). If YES in S50, the multi-function device 50 executes an e-mail transmission process (S52). The multi-function device 50 executes the e-mail transmission process using the transmission setting data stored in the main setting data storage area 56a. For example, the multi-function device 50 stores image data scanned by the scanner device 52 (see FIG. 2). This image data is transmitted by electronic mail. The transmission destination of the electronic mail may be set in advance in the multi-function device 50 or may be included in an electronic mail transmission command output from the terminal device 70. The electronic mail is transmitted to the transmission destination via the SMTP server 82. The step of S52 corresponds to A2 in FIG.
The multi-function device 50 monitors whether or not the e-mail reception command output from the terminal device 70 has been input (S54). If YES in S54, the multi-function device 50 executes an e-mail receiving process (S56). The multi-function device 50 executes the e-mail reception process using the reception setting data stored in the main setting data storage area 56a. The multi-function device 50 can receive an e-mail stored in the POP3 server 80 by accessing the POP3 server 80. Step S56 corresponds to B2 in FIG. The multi-function device 50 prints the contents of the received e-mail using the printing device 62 (see FIG. 2).

複合機50は、端末装置70から出力された送信テスト命令を入力したのか否かを監視している(S58)。S58でYESの場合、複合機50は、端末装置70から出力された送信設定データを入力する(S60)。この送信設定データには、副設定用のコードが付加されている。複合機50は、副設定用の送信設定データであることを認識することができる。S60のステップは、図3のD1に相当する。なお、上述したように、図5のS16では、図4の設定項目112においてPOP before SMTPが選択された場合に、送信設定データと受信設定データの両方が出力される。この場合、S60では、送信設定データと受信設定データの両方が入力される。
複合機50は、入力された送信設定データを副設定データ記憶領域56bに記憶する(S62)。複合機50は、S60において送信設定データと受信設定データの両方が入力された場合は、送信設定データと受信設定データの両方を副設定データ記憶領域56bに記憶する。次いで、複合機50は、送信テスト処理を実行する(S64)。送信テスト処理の内容は、後で詳しく説明する。送信テスト処理が実行されると、送信テスト結果が得られる。複合機50は、送信テスト結果を端末装置70に出力する(S66)。送信テスト結果は、端末装置70によって入力される(図5のS18)。S66の処理は、図3のD4に相当する。
複合機50は、端末装置70から出力された受信テスト命令を入力したのか否かを監視している(S68)。S68でYESの場合、複合機50は、端末装置70から出力された受信設定データを入力する(S70)。この受信設定データには、副設定用のコードが付加されている。複合機50は、副設定用の受信設定データであることを認識することができる。S70のステップは、図3のE1に相当する。複合機50は、入力された受信設定データを副設定データ記憶領域56bに記憶する(S72)。次いで、複合機50は、受信テスト処理を実行する(S74)。受信テスト処理の内容は、後で詳しく説明する。受信テスト処理が実行されると、受信テスト結果が得られる。複合機50は、受信テスト結果を端末装置70に出力する(S76)。受信テスト結果は、端末装置70によって入力される(図5のS28)。S76の処理は、図3のE4に相当する。
The multi-function device 50 monitors whether or not the transmission test command output from the terminal device 70 has been input (S58). If YES in S58, the multi-function device 50 inputs the transmission setting data output from the terminal device 70 (S60). A sub-setting code is added to the transmission setting data. The multi-function device 50 can recognize that it is transmission setting data for sub-setting. The step of S60 corresponds to D1 in FIG. Note that, as described above, in S16 of FIG. 5, when POP before SMTP is selected in the setting item 112 of FIG. 4, both transmission setting data and reception setting data are output. In this case, in S60, both transmission setting data and reception setting data are input.
The multi-function device 50 stores the input transmission setting data in the sub-setting data storage area 56b (S62). When both the transmission setting data and the reception setting data are input in S60, the multi-function device 50 stores both the transmission setting data and the reception setting data in the sub setting data storage area 56b. Next, the multi-function device 50 executes a transmission test process (S64). The contents of the transmission test process will be described in detail later. When the transmission test process is executed, a transmission test result is obtained. The multi-function device 50 outputs the transmission test result to the terminal device 70 (S66). The transmission test result is input by the terminal device 70 (S18 in FIG. 5). The process of S66 corresponds to D4 in FIG.
The multi-function device 50 monitors whether or not the reception test command output from the terminal device 70 has been input (S68). If YES in S68, the multi-function device 50 inputs the reception setting data output from the terminal device 70 (S70). A sub-setting code is added to the reception setting data. The multi-function device 50 can recognize that it is reception setting data for sub-setting. The step of S70 corresponds to E1 in FIG. The multi-function device 50 stores the input reception setting data in the sub-setting data storage area 56b (S72). Next, the multi-function device 50 executes a reception test process (S74). The contents of the reception test process will be described in detail later. When the reception test process is executed, a reception test result is obtained. The multi-function device 50 outputs the reception test result to the terminal device 70 (S76). The reception test result is input by the terminal device 70 (S28 in FIG. 5). The process of S76 corresponds to E4 in FIG.

複合機50は、端末装置70から出力された設定更新命令を入力したのか否かを監視している(S78)。S78でYESの場合、複合機50は、端末装置70から出力された通信設定データを入力する(S80)。この通信設定データには、主設定用のコードが付加されている。複合機50は、主設定用の通信設定データであることを認識することができる。この通信設定データには、送信設定データと受信設定データの両方が含まれている。S80のステップは、図3のC1に相当する。複合機50は、入力された通信設定データを主設定データ記憶領域56aに記憶する(S82)。これにより、上記のS52の電子メール送信処理やS56の電子メール受信処理において利用される通信設定データが更新されることになる。複合機50は、更新された通信設定データを利用して電子メールを通信することができる。
なお、複合機50は、上記した各命令の他にも、様々な情報(命令)を入力することができる。例えば、複合機50は、スキャナ装置52を利用して原稿をスキャンすることを指示する命令や、印刷装置62を利用して画像データを印刷することを指示する命令等を入力することができる。複合機50は、図6に示した処理の他にも、様々な処理(スキャン処理や印刷処理等)を実行することができる。
The multi-function device 50 monitors whether or not the setting update command output from the terminal device 70 has been input (S78). If YES in S78, the multi-function device 50 inputs the communication setting data output from the terminal device 70 (S80). A code for main setting is added to the communication setting data. The multi-function device 50 can recognize that it is communication setting data for main setting. This communication setting data includes both transmission setting data and reception setting data. The step of S80 corresponds to C1 in FIG. The multi-function device 50 stores the input communication setting data in the main setting data storage area 56a (S82). As a result, the communication setting data used in the e-mail transmission process of S52 and the e-mail reception process of S56 is updated. The multi-function device 50 can communicate e-mails using the updated communication setting data.
The multi-function device 50 can input various information (commands) in addition to the above-described commands. For example, the multi-function device 50 can input a command for instructing to scan a document using the scanner device 52, a command for instructing to print image data using the printing device 62, and the like. The multi-function device 50 can execute various processes (scan process, print process, etc.) in addition to the processes shown in FIG.

(複合機の送信テスト処理)
複合機50が実行する送信テスト処理(図6のS64)の内容を詳しく説明する。図7は、送信テスト処理のフローチャートを示す。
複合機50は、図6のS62において副設定データ記憶領域56bに記憶された送信設定データを解析する(S100)。送信設定データに不正な入力値が存在するのか否かが判断される(S102)。例えば、図4のウィンドウ100において設定項目110,112等にデータが入力されなかった場合に、S102でNOと判断される。S102でNOの場合、複合機50は、「入力値不正」という情報を送信テスト結果として記憶する(S104)。この情報は、一時的記憶領域56cに記憶される。
S102でYESの場合、複合機50は、送信設定データに含まれる認証方式が「POP before SMTP」であるのか否かを判断する(S106)。このステップは、図4の設定項目112において「POP before SMTP」が選択された場合にYESと判断される。S106でYESの場合、複合機50は、POP before SMTP処理を実行する(S108)。なお、以下では、POP before SMTPのことを「PbS」と簡単に記載する。S106でNOの場合は、S114に進む。
(MFP transmission test process)
The contents of the transmission test process (S64 in FIG. 6) executed by the multi-function device 50 will be described in detail. FIG. 7 shows a flowchart of the transmission test process.
The multi-function device 50 analyzes the transmission setting data stored in the sub setting data storage area 56b in S62 of FIG. 6 (S100). It is determined whether or not an invalid input value exists in the transmission setting data (S102). For example, if no data is input to the setting items 110, 112, etc. in the window 100 of FIG. 4, NO is determined in S102. In the case of NO in S102, the multi-function device 50 stores the information “input value invalid” as a transmission test result (S104). This information is stored in the temporary storage area 56c.
If YES in S102, the multi-function device 50 determines whether or not the authentication method included in the transmission setting data is “POP before SMTP” (S106). This step is determined to be YES when “POP before SMTP” is selected in the setting item 112 of FIG. In the case where S106 is YES, the multi-function device 50 executes the POP before SMTP process (S108). Hereinafter, POP before SMTP is simply referred to as “PbS”. If NO in S106, the process proceeds to S114.

PbS認証について簡単に説明しておく。PbS認証は、SMTPサーバ82がユーザ認証機能を有していない場合に、POP3サーバ80を利用してユーザ認証を実行するものである。PbS認証を実行するためには、SMTPサーバ82とPOP3サーバ80の両方がアクセスすることができるデータベース(以下では共用データベースと呼ぶ)がシステム40に組み込まれる。
まず、複合機50は、POP3サーバ80にアクセスする。複合機50は、通信設定データ記憶領域56aに記憶されている受信設定データ(図4の設定項目130,132,134,136)をPOP3サーバ80に出力する。POP3サーバは、入力された受信設定データに基づいてユーザ認証を実行する。ユーザ認証が成功した場合、POP3サーバ80は、複合機50についてユーザ認証が成功したことを示す情報を共用データベースに記憶させる。
複合機50は、受信設定データをPOP3サーバ80に出力した後に、SMTPサーバ82にアクセスする。即ち、複合機50は、電子メールを送信することを指示する情報をSMTPサーバ82に出力する。この場合、SMTPサーバ82は、共用データベースにアクセスし、複合機50についてユーザ認証が成功したのか否かを示す情報を取得する。複合機50についてユーザ認証が成功している場合、SMTPサーバ82は、電子メールを送信することを許可する。
PbS authentication will be briefly described. The PbS authentication is for performing user authentication using the POP3 server 80 when the SMTP server 82 does not have a user authentication function. In order to perform PbS authentication, a database (hereinafter referred to as a shared database) that can be accessed by both the SMTP server 82 and the POP3 server 80 is incorporated into the system 40.
First, the multi-function device 50 accesses the POP3 server 80. The multi-function device 50 outputs the reception setting data (setting items 130, 132, 134, 136 in FIG. 4) stored in the communication setting data storage area 56a to the POP3 server 80. The POP3 server performs user authentication based on the received reception setting data. When the user authentication is successful, the POP3 server 80 stores information indicating that the user authentication is successful for the multi-function device 50 in the shared database.
The multifunction device 50 accesses the SMTP server 82 after outputting the reception setting data to the POP3 server 80. In other words, the multi-function device 50 outputs to the SMTP server 82 information instructing to send an e-mail. In this case, the SMTP server 82 accesses the shared database and acquires information indicating whether or not the user authentication for the multi-function device 50 is successful. If the user authentication is successful for the multi-function device 50, the SMTP server 82 permits transmission of an e-mail.

図8は、PbS処理のフローチャートを示す。PbS処理では、電子メールの受信テストを実行する(S150)。受信テスト処理では、受信設定データを利用してPOP3サーバによってユーザ認証を実行させる。S150では、副設定データ記憶領域56bに記憶されている受信設定データを利用して受信テスト処理が実行される。なお、図4の設定項目112においてPbSが選択された場合、S60(図6参照)では、送信設定データと受信設定データの両方が入力される。従って、S62では、送信設定データと受信設定データの両方が副設定データ記憶領域56bに記憶されることになる。S150の受信テスト処理では、S60で入力された受信設定データが利用される。受信テスト処理の内容は、後で詳しく説明する。
受信テスト処理が実行されると、受信テスト結果が得られる。受信テスト結果は、一時的記憶領域56cに記憶される。複合機50は、受信テスト結果が「成功」であるのか否かを判断する(S152)。ここでYESの場合、「成功」という情報をPbS処理結果として記憶する。この情報は、一時的記憶領域56cに記憶される。一方において、S152でNOの場合、受信テスト処理が不成功であったことを意味する。後で詳しく述べるが、受信テスト処理では不成功の原因が記憶される。S152でNOの場合は、受信テスト結果(不成功の原因)をPbS処理結果として記憶する(S156)。受信テスト結果は、一時的記憶領域56cに記憶される。
FIG. 8 shows a flowchart of the PbS process. In the PbS process, an e-mail reception test is executed (S150). In the reception test process, user authentication is executed by the POP3 server using the reception setting data. In S150, a reception test process is executed using the reception setting data stored in the sub setting data storage area 56b. When PbS is selected in the setting item 112 in FIG. 4, both transmission setting data and reception setting data are input in S60 (see FIG. 6). Therefore, in S62, both transmission setting data and reception setting data are stored in the sub setting data storage area 56b. In the reception test process in S150, the reception setting data input in S60 is used. The contents of the reception test process will be described in detail later.
When the reception test process is executed, a reception test result is obtained. The reception test result is stored in the temporary storage area 56c. The multi-function device 50 determines whether or not the reception test result is “success” (S152). If YES here, the information “success” is stored as the PbS processing result. This information is stored in the temporary storage area 56c. On the other hand, if NO in S152, it means that the reception test process was unsuccessful. As will be described in detail later, the cause of unsuccessfulness is stored in the reception test process. If NO in S152, the reception test result (cause of unsuccess) is stored as the PbS processing result (S156). The reception test result is stored in the temporary storage area 56c.

図7のPbS処理(S108)が終了すると、PbS処理結果が「成功」であるのか否かが判断される(S110)。ここでNOの場合、複合機50は、PbS処理結果(不成功の原因)を送信テスト結果として記憶する(S112)。PbS処理結果は、一時的記憶領域56cに記憶される。S110でYESの場合、S114に進む。
S114では、複合機50がSMTPサーバ82にアクセスする。複合機50は、SMTPサーバ82に対してTCP接続を試行する。これに成功すると、S116においてYESと判断される。S116でYESの場合は、S120に進む。一方において、SMTPサーバ82が正常に機能していない場合(例えばSMTPサーバ82がSYN/ACK信号を返答しない場合)、複合機50は、SMTPサーバ82に対してTCP接続を実行することができない。この場合、S116においてNOと判断される。S116でNOの場合、複合機50は、「SMTPサーバ接続失敗」という情報を送信テスト結果として記憶する(S118)。この情報は、一時的記憶領域56cに記憶される。
S116でYESの場合、複合機50は、送信設定データに含まれる認証方式が「SMTP−AUTH」であるのか否かを判断する(S120)。このステップは、図4の設定項目112において「SMTP−AUTH」が選択された場合にYESと判断される。S120でYESの場合、複合機50は、SMTP−AUTH処理を実行する(S122)。
When the PbS process (S108) in FIG. 7 ends, it is determined whether or not the PbS process result is “success” (S110). In the case of NO here, the multi-function device 50 stores the PbS processing result (cause of unsuccess) as a transmission test result (S112). The PbS processing result is stored in the temporary storage area 56c. If YES in S110, the process proceeds to S114.
In S <b> 114, the multi-function device 50 accesses the SMTP server 82. The multi-function device 50 attempts a TCP connection to the SMTP server 82. If this is successful, YES is determined in S116. If YES in S116, the process proceeds to S120. On the other hand, when the SMTP server 82 is not functioning normally (for example, when the SMTP server 82 does not return a SYN / ACK signal), the multi-function device 50 cannot execute a TCP connection to the SMTP server 82. In this case, NO is determined in S116. In the case of NO in S116, the multi-function device 50 stores the information “SMTP server connection failure” as the transmission test result (S118). This information is stored in the temporary storage area 56c.
If YES in S116, the multi-function device 50 determines whether or not the authentication method included in the transmission setting data is “SMTP-AUTH” (S120). This step is determined to be YES when “SMTP-AUTH” is selected in the setting item 112 of FIG. In the case of YES in S120, the multi-function device 50 executes the SMTP-AUTH process (S122).

SMTP−AUTHについて簡単に説明しておく。上述したように、SMTPサーバの中にはユーザ認証機能を持たないものが存在する。一方において、ユーザ認証機能を有するSMTPサーバも存在する。SMTPサーバによって実行されるユーザ認証は、SMTP−AUTHと呼ばれている。SMTPサーバは、ユーザ認証が成功した場合に電子メールを送信することを許可する。
SMTP−AUTHでは、送信設定データに含まれているユーザ名とパスワード(図4の設定項目114,116)を利用してユーザ認証が実行される。複合機50は、ユーザ名とパスワードをSMTPサーバ82に出力する。SMTPサーバ82には、電子メールを送信することを許可するユーザ名とパスワードが登録されている。複合機50から出力されたユーザ名とパスワードがSMTPサーバ82に登録されている場合、SMTPサーバ82は、複合機50からSMTPサーバ82を経由して電子メールを送信することを許可する。
The SMTP-AUTH will be briefly described. As described above, some SMTP servers do not have a user authentication function. On the other hand, there is also an SMTP server having a user authentication function. User authentication performed by the SMTP server is called SMTP-AUTH. The SMTP server allows sending an email if user authentication is successful.
In SMTP-AUTH, user authentication is performed using a user name and password (setting items 114 and 116 in FIG. 4) included in transmission setting data. The multi-function device 50 outputs the user name and password to the SMTP server 82. In the SMTP server 82, a user name and a password that are permitted to send an e-mail are registered. When the user name and password output from the multi-function device 50 are registered in the SMTP server 82, the SMTP server 82 permits the e-mail transmission from the multi-function device 50 via the SMTP server 82.

ユーザ認証の方法が複数種類存在することが知られている。例えば、「PLAIN」、「LOGIN」、「CRAM−MD5」等が存在する。これらは、認証メカニズムと呼ばれる。SMTPサーバの中には、複数の認証メカニズムを実行することができるものもあれば、1つの認証メカニズムしか実行することができないものもある。
CRAM−MD5では、複合機50からSMTPサーバ82に出力されるパスワードが暗号化される。PLAINとLOGINでは、パスワードが暗号化されない。PLAINでは、ユーザ名とパスワードが同時にSMTPサーバ82に送られる。LOGINでは、ユーザ名のみがSMTPサーバ82に先に送られ、ユーザ名がSMTPサーバ82に登録されている場合にパスワードがSMTPサーバ82に送られる。
CRAM−MD5は、パスワードが暗号化されるために、上記の3つの認証メカニズムの中で最もセキュリティレベルが高い。次にセキュリティレベルが高いものは、LOGINであると言える。最もセキュリティレベルが低いものは、PLAINである。
It is known that there are a plurality of types of user authentication methods. For example, “PLAIN”, “LOGIN”, “CRAM-MD5”, and the like exist. These are called authentication mechanisms. Some SMTP servers can execute multiple authentication mechanisms, while others can execute only one authentication mechanism.
In CRAM-MD5, the password output from the multi-function device 50 to the SMTP server 82 is encrypted. In PLAIN and LOGIN, the password is not encrypted. In PLAIN, the user name and password are sent to the SMTP server 82 at the same time. In LOGIN, only the user name is sent to the SMTP server 82 first, and when the user name is registered in the SMTP server 82, the password is sent to the SMTP server 82.
CRAM-MD5 has the highest security level among the above three authentication mechanisms because the password is encrypted. The next highest security level is LOGIN. The one with the lowest security level is PLAIN.

図9は、SMTP−AUTH処理のフローチャートを示す。複合機50は、SMTPサーバ82にEHLOコマンドを送信することによって、ESMTPの拡張オプションリストを取得する(S170)。S170では、複合機50とSMTPサーバ82の間で様々な情報が交換される。例えば、SMTPサーバ82がSMTP−AUTHを実行する機能を有している場合、SMTPサーバ82は、自身が実行することができる認証メカニズムのリストを複合機50に出力する。
複合機50は、SMTPサーバ82がSMTP−AUTHをサポートしているのか否かを確認する(S172)。ここでNOの場合、複合機50は、「SMTPサーバ認証方式相違」という情報をSMTP−AUTH処理結果として記憶する(S174)。この情報は、一時的記憶領域56cに記憶される。S172でYESの場合、複合機50は、SMTPサーバ82が実行することができる認証メカニズムのリストを取得する(S176)。次いで、複合機50は、認証メカニズム実行リストを初期化する(S178)。このリストは、一時的記憶領域56cに記憶されている。S178では、以前に取得されたリストが消去される。
複合機50は、S176で取得した認証メカニズム(群)の中から、自身が実行することができる認証メカニズム(群)を特定する。複合機50は、特定された認証メカニズム(群)を認証メカニズム実行リストに記憶する(S180)。即ち、特定された認証メカニズム(群)は、一時的記憶領域56cに記憶される。次いで、複合機50は、認証メカニズム実行リストに記憶されている認証メカニズム(群)をセキュリティレベルの高い順に並び替える(S182)。例えば、認証メカニズム実行リストの中にPLAINとLOGINとCRAM−MD5が含まれる場合は、CRAM−MD5、LOGIN、PLAINの順に並べられる。
FIG. 9 shows a flowchart of the SMTP-AUTH process. The multi-function device 50 acquires an ESMTP extended option list by sending an EHLO command to the SMTP server 82 (S170). In S170, various information is exchanged between the multi-function device 50 and the SMTP server 82. For example, when the SMTP server 82 has a function of executing SMTP-AUTH, the SMTP server 82 outputs a list of authentication mechanisms that can be executed by itself to the multi-function device 50.
The multi-function device 50 checks whether or not the SMTP server 82 supports SMTP-AUTH (S172). In the case of NO here, the multi-function device 50 stores the information “SMTP server authentication method difference” as the SMTP-AUTH processing result (S174). This information is stored in the temporary storage area 56c. If YES in S172, the multi-function device 50 acquires a list of authentication mechanisms that can be executed by the SMTP server 82 (S176). Next, the multi-function device 50 initializes the authentication mechanism execution list (S178). This list is stored in the temporary storage area 56c. In S178, the previously acquired list is deleted.
The multi-function device 50 identifies an authentication mechanism (group) that can be executed by itself from the authentication mechanism (group) acquired in S176. The multi-function device 50 stores the specified authentication mechanism (s) in the authentication mechanism execution list (S180). That is, the specified authentication mechanism (group) is stored in the temporary storage area 56c. Next, the multi-function device 50 rearranges the authentication mechanisms (group) stored in the authentication mechanism execution list in descending order of security level (S182). For example, when PLAIN, LOGIN, and CRAM-MD5 are included in the authentication mechanism execution list, they are arranged in the order of CRAM-MD5, LOGIN, and PLAIN.

複合機50は、認証メカニズム実行リストの中にユーザ認証に利用されていない認証メカニズムが存在するのか否かを判断する(S184)。即ち、後述するS188の処理で利用されていない認証メカニズムが存在するのか否かが判断される。ここでYESの場合、複合機50は、ユーザ認証を実行していない認証メカニズム(群)の中から、最もセキュリティレベルが高いものを選択する(S186)。上記の例の場合、CRAM−MD5が選択される。複合機50は、S186で選択された認証メカニズムを利用して、送信設定データに含まれるユーザ名とパスワード(図4の設定項目114,116)をSMTPサーバ82に出力する。これにより、SMTPサーバ82がSMTP−AUTHを実行することになる(S188)。SMTPサーバ82は、SMTP−AUTHの結果を複合機50に出力する。
複合機50は、SMTP−AUTHが成功したこと示すコードが入力されたのか否かを監視している(S190)。ここでYESの場合、複合機50は、「成功」という情報をSMTP−AUTH処理結果として記憶する(S192)。この情報は、一時的記憶領域56cに記憶される。複合機50は、S192の処理を終えると、SMTP−AUTH処理を終了する。
一方において、S190でNOの場合、複合機50は、「SMTPサーバ認証失敗」という情報をSMTP−AUTH処理結果として記憶する(S194)。この情報は、一時的記憶領域56cに記憶される。複合機50は、S194を終えるとS184に戻り、まだ利用されていない他の認証メカニズムが存在するか否かを判断する。他の認証メカニズムを利用して実行されたSMTP−AUTHが成功した場合(S190でYESの場合)、それよりセキュリティレベルの高い認証メカニズムについて「SMTPサーバ認証失敗」と記憶されたSMTP−AUTH処理結果を「成功」に更新する(S192)。
The multi-function device 50 determines whether there is an authentication mechanism that is not used for user authentication in the authentication mechanism execution list (S184). That is, it is determined whether there is an authentication mechanism that is not used in the process of S188 described later. In the case of YES here, the multi-function device 50 selects the one with the highest security level from the authentication mechanism (group) that is not executing the user authentication (S186). In the above example, CRAM-MD5 is selected. The multi-function device 50 outputs the user name and password (setting items 114 and 116 in FIG. 4) included in the transmission setting data to the SMTP server 82 using the authentication mechanism selected in S186. As a result, the SMTP server 82 executes SMTP-AUTH (S188). The SMTP server 82 outputs the SMTP-AUTH result to the multi-function device 50.
The multi-function device 50 monitors whether or not a code indicating that the SMTP-AUTH is successful has been input (S190). In the case of YES here, the multi-function device 50 stores the information “success” as the SMTP-AUTH processing result (S192). This information is stored in the temporary storage area 56c. After finishing the processing of S192, the multi-function device 50 ends the SMTP-AUTH processing.
On the other hand, in the case of NO in S190, the multi-function device 50 stores the information “SMTP server authentication failure” as the SMTP-AUTH processing result (S194). This information is stored in the temporary storage area 56c. After finishing S194, the multi-function device 50 returns to S184, and determines whether there is another authentication mechanism that has not been used yet. If the SMTP-AUTH executed using another authentication mechanism is successful (YES in S190), the SMTP-AUTH processing result stored as “SMTP server authentication failure” for an authentication mechanism with a higher security level. Is updated to “success” (S192).

図7のSMTP−AUTH処理(S122)が終了すると、SMTP−AUTH処理結果が「成功」であるのか否かが判断される(S124)。ここでNOの場合、複合機50は、SMTP−AUTH処理結果(「SMTPサーバ認証方式相違」又は「SMTPサーバ認証失敗」)を送信テスト結果として記憶する(S126)。即ち、不成功の原因が送信テスト結果として記憶されることになる。送信テスト処理結果は、一時的記憶領域56cに記憶される。
S120でNOの場合、又は、S124でYESの場合、複合機50は、S128の処理を実行する。S120でNOの場合は、図4の設定項目112において「認証なし」が選択されたことを意味する。この場合、電子メールの送信に関してユーザ認証が実行されない。
S128では、テストメールを送信することが試行される。図4に示されるように、送信設定データには、設定項目118のメールアドレスと設定項目120のメールアドレスが含まれている。これらのメールアドレスの両方にテストメールを送信することが試行される。テストメールは、SMTPサーバ82を経由して送信される。SMTPサーバ82は、テストメールの送信が成功したことを示すコード、又は、テストメールの送信が失敗したことを示すコードを複合機50に出力する。
複合機50は、テストメールの送信が成功したのか否かを監視する(S130)。複合機50は、送信が成功したことを示すコードを入力した場合にYESと判断し、送信が失敗したことを示すコードを入力した場合にNOと判断する。S130でYESの場合、複合機50は、「送信成功」という情報を送信テスト結果として記憶する(S132)。一方において、S130でNOの場合、複合機50は、「送信失敗」という情報を送信テスト結果として記憶する(S134)。これらの送信テスト結果は、一時的記憶領域56cに記憶される。複合機50は、S132又はS134の処理を実行すると、SMTPサーバ82との接続を切断する(S136)。
When the SMTP-AUTH process (S122) in FIG. 7 ends, it is determined whether or not the SMTP-AUTH process result is “success” (S124). In the case of NO here, the multi-function device 50 stores the SMTP-AUTH processing result (“SMTP server authentication method difference” or “SMTP server authentication failure”) as a transmission test result (S126). That is, the cause of unsuccessfulness is stored as a transmission test result. The transmission test process result is stored in the temporary storage area 56c.
If NO in S120 or YES in S124, the multi-function device 50 executes the process of S128. If NO in S120, it means that “no authentication” is selected in the setting item 112 of FIG. In this case, user authentication is not performed for transmission of the e-mail.
In S128, an attempt is made to send a test mail. As shown in FIG. 4, the transmission setting data includes the mail address of the setting item 118 and the mail address of the setting item 120. An attempt is made to send a test email to both of these email addresses. The test mail is transmitted via the SMTP server 82. The SMTP server 82 outputs to the multi-function device 50 a code indicating that the transmission of the test mail has been successful or a code indicating that the transmission of the test mail has failed.
The multi-function device 50 monitors whether the test mail has been successfully transmitted (S130). The multi-function device 50 determines YES when a code indicating successful transmission is input, and determines NO when a code indicating that transmission has failed is input. In the case of YES in S130, the multi-function device 50 stores the information “transmission success” as the transmission test result (S132). On the other hand, if NO in S130, the multi-function device 50 stores information “transmission failure” as a transmission test result (S134). These transmission test results are stored in the temporary storage area 56c. When the MFP 50 executes the process of S132 or S134, it disconnects the connection with the SMTP server 82 (S136).

上述したように、複合機50は、送信テスト処理が終了すると、送信テスト結果を端末装置70に出力する(図6のS66)。送信テスト結果として記憶される情報は、「入力値不正」(S104)、「PbS処理結果(不成功の原因)」(S112)、「SMTPサーバ接続失敗」(S118)、「SMTPサーバ認証方式相違」(S174)、「SMTPサーバ認証失敗」(S194)、「送信成功」(S132)、及び、「送信失敗」(S134)のいずれかである。送信テスト結果に対応する情報が、端末装置70の表示装置74(図2参照)で表示される。ユーザは、送信テスト結果を知ることができる。特に、送信テストが不成功の場合は、その原因が表示される。ユーザは、不成功の原因に基づいて、送信設定データを改善することができる。   As described above, when the transmission test process ends, the multi-function device 50 outputs the transmission test result to the terminal device 70 (S66 in FIG. 6). The information stored as the transmission test result includes “invalid input value” (S104), “PbS processing result (cause of unsuccess)” (S112), “SMTP server connection failure” (S118), “SMTP server authentication method difference” ”(S174),“ SMTP server authentication failure ”(S194),“ Transmission success ”(S132), and“ Transmission failure ”(S134). Information corresponding to the transmission test result is displayed on the display device 74 of the terminal device 70 (see FIG. 2). The user can know the transmission test result. In particular, if the transmission test is unsuccessful, the cause is displayed. The user can improve the transmission setting data based on the cause of the failure.

(複合機の受信テスト処理)
続いて、複合機50が実行する受信テスト処理(図6のS74又は図8のS150)の内容を詳しく説明する。図6のS74の受信テスト処理では、S72において副設定データ記憶領域56bに記憶された受信設定データが利用される。図8のS150の受信テスト処理では、図6のS62において副設定データ記憶領域56bに記憶された受信設定データが利用される(送信設定データの中でPbS(図4の設定項目112参照)が選択された場合)。
(Reception test processing for multifunction devices)
Next, the contents of the reception test process (S74 in FIG. 6 or S150 in FIG. 8) executed by the multi-function device 50 will be described in detail. In the reception test process in S74 of FIG. 6, the reception setting data stored in the sub setting data storage area 56b in S72 is used. In the reception test process of S150 in FIG. 8, the reception setting data stored in the sub-setting data storage area 56b in S62 of FIG. 6 is used (PbS (see setting item 112 in FIG. 4) in the transmission setting data). If selected).

図10は、受信テスト処理のフローチャートを示す。複合機50は、図6のS72において副設定データ記憶領域56bに記憶された受信設定データを解析する(S200)。受信設定データに不正な入力値が存在するのか否かが判断される(S202)。S202でNOの場合、複合機50は、「入力値不正」という情報を受信テスト結果として記憶する(S204)。この情報は、一時的記憶領域56cに記憶される。S202でYESの場合、S206に進む。
S206では、複合機50がPOP3サーバ80にアクセスする。複合機50は、POP3サーバ80に対してTCP接続を試行する。それに成功した場合、S208においてYESと判断される。S208でYESの場合は、S212に進む。一方において、POP3サーバ80が正常に機能していない場合(例えばPOP3サーバ80がSYN/ACK信号を返答しない場合)、複合機50は、POP3サーバ80に対してTCP接続を実行することができない。この場合、S208においてNOと判断される。S208でNOの場合、複合機50は、「POP3サーバ接続失敗」という情報を受信テスト結果として記憶する(S210)。この情報は、一時的記憶領域56cに記憶される。
S208でYESの場合、複合機50は、受信設定データに含まれる認証方式が「APOP」であるのか否かを判断する(S212)。このステップは、図4の設定項目136において「APOP」が選択された場合にYESと判断され、「APOP」が選択されなかった場合にNOと判断される。S212でNOの場合、複合機50は、通常のPOP3認証処理を実行する(S214)。一方において、S212でYESの場合、複合機50は、APOP認証処理を実行する(S216)。
FIG. 10 shows a flowchart of the reception test process. The multi-function device 50 analyzes the reception setting data stored in the sub setting data storage area 56b in S72 of FIG. 6 (S200). It is determined whether or not an invalid input value exists in the reception setting data (S202). In the case of NO in S202, the multi-function device 50 stores the information “invalid input value” as the reception test result (S204). This information is stored in the temporary storage area 56c. If YES in S202, the process proceeds to S206.
In S206, the multi-function device 50 accesses the POP3 server 80. The multi-function device 50 tries TCP connection to the POP3 server 80. If it is successful, YES is determined in S208. If YES in S208, the process proceeds to S212. On the other hand, when the POP3 server 80 is not functioning normally (for example, when the POP3 server 80 does not return a SYN / ACK signal), the multi-function device 50 cannot execute a TCP connection to the POP3 server 80. In this case, NO is determined in S208. In the case of NO in S208, the multi-function device 50 stores the information “POP3 server connection failure” as a reception test result (S210). This information is stored in the temporary storage area 56c.
If YES in S208, the multi-function device 50 determines whether or not the authentication method included in the reception setting data is “APOP” (S212). This step is determined as YES when “APOP” is selected in the setting item 136 of FIG. 4, and is determined as NO when “APOP” is not selected. In the case of NO in S212, the multi-function device 50 executes normal POP3 authentication processing (S214). On the other hand, if YES in S212, the multi-function device 50 executes APOP authentication processing (S216).

POP3サーバのユーザ認証について簡単に説明しておく。POP3サーバ80は、受信設定データに含まれているユーザ名とパスワード(図4の設定項目132,134)を利用してユーザ認証を実行する。複合機50は、ユーザ名とパスワードをPOP3サーバ80に出力する。POP3サーバ80には、電子メールを受信することを許可するユーザ名とパスワードが登録されている。複合機50から出力されたユーザ名とパスワードがPOP3サーバ80に登録されている場合、POP3サーバ80は、複合機50が電子メールを受信することを許可する。
POP3サーバの中には、通常のPOP3認証とAPOP認証の両方を実行することができるものと、通常のPOP3認証しか実行することができないものが存在する。APOP認証は、複合機50からPOP3サーバ80に出力されるパスワードが暗号化される。このために、セキュリティレベルが高い認証方式であると言える。通常のPOP3認証では、パスワードが暗号化されない。
The user authentication of the POP3 server will be briefly described. The POP3 server 80 executes user authentication using the user name and password (setting items 132 and 134 in FIG. 4) included in the reception setting data. The multi-function device 50 outputs the user name and password to the POP3 server 80. In the POP3 server 80, a user name and a password that are permitted to receive an e-mail are registered. When the user name and password output from the multi-function device 50 are registered in the POP3 server 80, the POP3 server 80 permits the multi-function device 50 to receive an e-mail.
Some POP3 servers can execute both normal POP3 authentication and APOP authentication, and some servers can execute only normal POP3 authentication. In the APOP authentication, a password output from the multi-function device 50 to the POP3 server 80 is encrypted. For this reason, it can be said that this is an authentication method with a high security level. In normal POP3 authentication, the password is not encrypted.

S214では、複合機50は、受信設定データに含まれるユーザ名とパスワードをPOP3サーバ80に出力する。このパスワードは暗号化されない。ユーザ名とパスワードがPOP3サーバ80に登録されている場合、POP3サーバ80は、ユーザ認証が成功したことを示すコードを複合機50に出力する。ユーザ名とパスワードの少なくとも一方がPOP3サーバ80に登録されていない場合、POP3サーバ80は、ユーザ認証が失敗したことを示すコードを複合機50に出力する。ユーザ認証が成功したことを示すコードを入力した場合、複合機50は、S218でYESと判断する。ユーザ認証が失敗したことを示すコードを入力した場合、複合機50は、S218でNOと判断する。
S216では、複合機50は、受信設定データに含まれるユーザ名とパスワードをPOP3サーバ80に出力する。このパスワードは暗号化される。POP3サーバ80は、APOP認証を実行することができない場合(POP3認証しか実行することができない場合)にエラーコードを複合機50に出力する。エラーコードを入力した場合、複合機50は、S218でNOと判断する。ユーザ名とパスワードがPOP3サーバ80に登録されている場合、POP3サーバ80は、ユーザ認証が成功したことを示すコードを複合機50に出力する。ユーザ名とパスワードの少なくとも一方がPOP3サーバに登録されていない場合、POP3サーバ80は、ユーザ認証が失敗したことを示すコードを複合機50に出力する。ユーザ認証が成功したことを示すコードを入力した場合、複合機50は、S218でYESと判断する。ユーザ認証が失敗したことを示すコードを入力した場合、複合機50は、S218でNOと判断する。
S218でNOの場合、複合機50は、「ユーザ認証失敗」という情報を受信テスト結果として記憶する(S220)。一方において、S218でYESの場合、複合機50は、「成功」という情報を受信テスト結果として記憶する(S222)。受信テスト結果は、一時的記憶領域56cに記憶される。複合機50は、S220又はS222の処理を実行すると、POP3サーバ80との接続を切断する(S224)。
In S <b> 214, the multi-function device 50 outputs the user name and password included in the reception setting data to the POP3 server 80. This password is not encrypted. When the user name and password are registered in the POP3 server 80, the POP3 server 80 outputs a code indicating that the user authentication is successful to the multi-function device 50. If at least one of the user name and password is not registered in the POP3 server 80, the POP3 server 80 outputs a code indicating that the user authentication has failed to the multi-function device 50. When the code indicating that the user authentication is successful is input, the multi-function device 50 determines YES in S218. When the code indicating that the user authentication has failed is input, the multi-function device 50 determines NO in S218.
In S <b> 216, the multi-function device 50 outputs the user name and password included in the reception setting data to the POP3 server 80. This password is encrypted. The POP3 server 80 outputs an error code to the multi-function device 50 when APOP authentication cannot be executed (when only POP3 authentication can be executed). When the error code is input, the multi-function device 50 determines NO in S218. When the user name and password are registered in the POP3 server 80, the POP3 server 80 outputs a code indicating that the user authentication is successful to the multi-function device 50. If at least one of the user name and password is not registered in the POP3 server, the POP3 server 80 outputs a code indicating that user authentication has failed to the multi-function device 50. When the code indicating that the user authentication is successful is input, the multi-function device 50 determines YES in S218. When the code indicating that the user authentication has failed is input, the multi-function device 50 determines NO in S218.
In the case of NO in S218, the multi-function device 50 stores the information “user authentication failure” as the reception test result (S220). On the other hand, if YES in S218, the multi-function device 50 stores the information “success” as the reception test result (S222). The reception test result is stored in the temporary storage area 56c. When executing the process of S220 or S222, the multi-function device 50 disconnects from the POP3 server 80 (S224).

上述したように、複合機50は、受信テスト処理が終了すると、受信テスト結果を端末装置70に出力する(図6のS76)。受信テスト結果として記憶される情報は、「入力値不正」(S204)、「POP3サーバ接続失敗」(S210)、「ユーザ認証失敗」(S220)、及び、「成功」(S222)のいずれかである。受信テスト結果に対応する情報が、端末装置70の表示装置74(図2参照)で表示される。ユーザは、受信テスト結果を知ることができる。特に、受信テストが不成功の場合は、その原因が表示される。ユーザは、不成功の原因に基づいて、受信設定データを改善することができる。   As described above, when the reception test process ends, the multi-function device 50 outputs the reception test result to the terminal device 70 (S76 in FIG. 6). The information stored as the reception test result is any of “input value invalid” (S204), “POP3 server connection failure” (S210), “user authentication failure” (S220), and “success” (S222). is there. Information corresponding to the reception test result is displayed on the display device 74 (see FIG. 2) of the terminal device. The user can know the reception test result. In particular, if the reception test is unsuccessful, the cause is displayed. The user can improve the reception setting data based on the cause of the failure.

本実施例の複合機50では、主設定用の通信設定データを利用して電子メールを通信することができる。ユーザは、副設定用の通信設定データを複合機50に記憶させることができる。複合機50は、副設定用の通信設定データが正常に機能するものであるのか否かをテスト(送信テスト及び/又は受信テスト)することができる。ユーザは、新しい通信設定データを主設定データ記憶領域56aに記憶させる前に、その通信設定データをテストすることができる。例えば、新しい通信設定データが正常に機能するものではないというテスト結果が得られた場合、ユーザは、その通信設定データを主設定データ記憶領域56aに記憶させることを禁止することができる。本実施例の複合機50によると、正常に機能しない通信設定データが主設定データ記憶領域56aに記憶される事象が発生することを抑制することができる。このために、複合機50が電子メール通信機能を実行することができなくなる事象が発生することを抑制することができる。   In the multi-function device 50 according to the present embodiment, an e-mail can be communicated using communication setting data for main setting. The user can store communication setting data for sub-setting in the multi-function device 50. The multi-function device 50 can test (transmission test and / or reception test) whether or not the communication setting data for the sub-setting functions normally. The user can test the communication setting data before storing the new communication setting data in the main setting data storage area 56a. For example, when a test result indicating that the new communication setting data does not function normally is obtained, the user can prohibit the communication setting data from being stored in the main setting data storage area 56a. According to the multi-function device 50 of this embodiment, it is possible to suppress the occurrence of an event in which communication setting data that does not function normally is stored in the main setting data storage area 56a. For this reason, it is possible to suppress the occurrence of an event in which the multi-function device 50 cannot execute the e-mail communication function.

本実施例の複合機50では、電子メール送信処理(図6のS52)と受信処理(S56)と送信テスト処理(S64)と受信テスト処理(S74)が1つの制御装置54によって実行される。図6のフローチャートを見る限り、制御装置54が、上記の各処理を直列的に実行するように見える。しかしながら、本実施例の制御装置54は、送信テスト処理(S64)又は受信テスト処理(S74)が実行されている間に電子メールの送信命令又は受信命令を入力すると、それらのテスト処理に割り込んで電子メールの送信処理(S52)又は受信処理(S56)を実行するようにプログラムされている。即ち、複合機50は、テスト処理が開始されてから終了されるまでの間でも、電子メールを通信することができる。
複合機50は、複数の端末装置によって共用されている。例えば、第1の端末装置(例えば70)によってテスト処理が指示され、そのテスト処理が実行されている間に第2の端末装置によって電子メール通信が指示されることがある。この場合であっても、複合機50は、第2の端末装置の指示に基づいて電子メールを通信することができる。
また、複合機50は、副設定データ記憶領域56bに記憶されている通信設定データ(送信設定データ又は受信設定データ)について通信テスト(送信テスト又は受信テスト)が実行された後に、主設定データ記憶領域56aに記憶されている通信設定データを継続して利用し続ける。複合機50は、テスト結果が得られた後に、主設定データ記憶領域56aに記憶されている通信設定データを利用するように指示する作業をユーザが行なわなくても、その通信設定データを自動的に利用することができる。
In the multi-function device 50 of the present embodiment, an e-mail transmission process (S52 in FIG. 6), a reception process (S56), a transmission test process (S64), and a reception test process (S74) are executed by one control device 54. As far as the flow chart of FIG. 6 is viewed, it appears that the control device 54 executes the above-described processes in series. However, when the control unit 54 of the present embodiment inputs an e-mail transmission instruction or reception instruction while the transmission test process (S64) or the reception test process (S74) is being executed, the control apparatus 54 interrupts the test process. It is programmed to execute the e-mail transmission process (S52) or the reception process (S56). That is, the multi-function device 50 can communicate e-mails from the start to the end of the test process.
The multi-function device 50 is shared by a plurality of terminal devices. For example, test processing may be instructed by a first terminal device (for example, 70), and e-mail communication may be instructed by the second terminal device while the test processing is being executed. Even in this case, the multi-function device 50 can communicate an e-mail based on an instruction from the second terminal device.
The multi-function device 50 stores the main setting data after the communication test (transmission test or reception test) is performed on the communication setting data (transmission setting data or reception setting data) stored in the sub setting data storage area 56b. The communication setting data stored in the area 56a is continuously used. After the test result is obtained, the multi-function device 50 automatically transmits the communication setting data even if the user does not instruct to use the communication setting data stored in the main setting data storage area 56a. Can be used.

(第2実施例)
第1実施例では、端末装置70から複合機50にLAN回線92a(図2参照)を利用して通信設定データが送られる。本実施例では、端末装置70から複合機50にインターネット90を経由して通信設定データが送られる。即ち、端末装置70は、通信設定データを電子メールによって送信することができる。
端末装置70のユーザは、電子メールを送受信するためのソフトウェアを利用して、通信設定データを作成することができる。図11は、電子メール内に入力される通信設定データの一例を示す。電子メール200は、ヘッダ領域202と本文領域204とテスト設定領域206を有する。
ヘッダ領域202は、端末装置70のメールアドレス202aと、複合機50のメールアドレス202bと、件名202cを含んでいる。
本文領域204は、通信設定データ(送信設定データ及び受信設定データ)を含んでいる。送信設定データは、SMTPサーバ82を特定するデータ(xxx.xxx.xxx.xxx)と、SMTPサーバ82の認証方式を特定するデータ(SMTP−AUTH)と、ユーザ名(user_A)と、パスワード(******)を含んでいる。ユーザ名とパスワードは、SMTP−AUTHの認証方式が選択された場合に入力される。受信設定データは、POP3サーバ80を特定するデータ(xxx.xxx.xxx.xxx)と、ユーザ名(user_A)と、パスワード(******)と、POP3サーバ80の認証方式を特定するデータ(yes)を含んでいる。本文領域204の「ADDRESS−device」は、複合機50のメールアドレスである。本文領域204の「ADDRESS−destination」は、テストメールの送信先のメールアドレスである。これらのメールアドレスも、送信設定データに含まれる。
テスト領域206は、受信テストを実行するのか否かを示すデータ(YES)と、送信テストを実行するのか否かを示すデータ(YES)を含んでいる。
(Second embodiment)
In the first embodiment, communication setting data is sent from the terminal device 70 to the multi-function device 50 using the LAN line 92a (see FIG. 2). In this embodiment, communication setting data is sent from the terminal device 70 to the multi-function device 50 via the Internet 90. That is, the terminal device 70 can transmit the communication setting data by electronic mail.
The user of the terminal device 70 can create communication setting data using software for sending and receiving electronic mail. FIG. 11 shows an example of communication setting data input in an e-mail. The e-mail 200 has a header area 202, a body area 204, and a test setting area 206.
The header area 202 includes a mail address 202a of the terminal device 70, a mail address 202b of the multi-function device 50, and a subject 202c.
The body area 204 includes communication setting data (transmission setting data and reception setting data). The transmission setting data includes data specifying the SMTP server 82 (xxx.xxx.xxx.xxx), data specifying the authentication method of the SMTP server 82 (SMTP-AUTH), a user name (user_A), and a password (* *****) is included. The user name and password are input when the SMTP-AUTH authentication method is selected. The reception setting data specifies data (xxx.xxx.xxx.xxx) for specifying the POP3 server 80, a user name (user_A), a password (******), and an authentication method for the POP3 server 80. Contains data (yes). “ADDRESS-device” in the text area 204 is a mail address of the multi-function device 50. “ADDRESS-destination” in the body area 204 is a mail address of a test mail transmission destination. These mail addresses are also included in the transmission setting data.
The test area 206 includes data (YES) indicating whether a reception test is executed and data (YES) indicating whether a transmission test is executed.

(複合機のメール受信処理)
第2実施例の複合機50が実行するメール受信処理の内容を説明する。なお、第1実施例のメール受信処理は、図6のS56に示されている。図12は、本実施例のメール受信処理のフローチャートを示す。
複合機50は、電子メールを受信する(S240)。S240は、主設定データ記憶領域56a(図2参照)に記憶されている受信設定データを利用して実行される。複合機50は、受信した電子メールに副設定用のコードが付加されているか否かを判断する(S242)。このステップは、図11のヘッダ領域202の件名202cに「Config E−mail」が含まれている場合にYESと判断される。ここでYESの場合、複合機50は、S244以降の処理を実行する。ここでNOの場合、複合機50は、通常の電子メール受信処理を実行する(S266)。即ち、複合機50は、印刷装置62(図2参照)を利用して電子メールの内容を印刷する。
(Mail reception processing of multifunction devices)
The contents of the mail reception process executed by the multi-function device 50 of the second embodiment will be described. The mail reception process of the first embodiment is shown in S56 of FIG. FIG. 12 shows a flowchart of the mail reception process of this embodiment.
The multi-function device 50 receives the e-mail (S240). S240 is executed using the reception setting data stored in the main setting data storage area 56a (see FIG. 2). The multi-function device 50 determines whether a sub-setting code is added to the received e-mail (S242). This step is determined as YES when the subject 202c in the header area 202 of FIG. 11 includes “Config E-mail”. In the case of YES here, the multi-function device 50 executes the processing after S244. In the case of NO here, the multi-function device 50 executes normal e-mail reception processing (S266). That is, the multi-function device 50 prints the content of the e-mail using the printing device 62 (see FIG. 2).

S242でYESの場合、複合機50は、電子メールの内容を解析する(S244)。これにより、送信設定データと受信設定データが特定される。次いで、複合機50は、送信設定データと受信設定データを副設定データ記憶領域56b(図2参照)に記憶する(S246)。複合機50は、電子メールの送信先のメールアドレス(端末装置70のメールアドレス)を記憶する(S248)。このメールアドレスは、一時的記憶領域56cに記憶される。
複合機50は、送信テストの実行値が「YES」であるのか否かを判断する(S250)。このステップは、図11のテスト領域206の「TEST−send」に「YES」が入力された場合に、YESと判断される。一方において、テスト領域206の「TEST−send」に「NO」が入力された場合、S250でNOと判断される。
S250でYESの場合、複合機50は、電子メールの送信テスト処理を実行する(S252)。この送信テスト処理は、図6のS64の処理と同様である。複合機50は、送信テスト結果が本文に記述されたリプライメールを作成する(S254)。図13は、S254で作成されるリプライメール210の一例を示す。
続いて、複合機50は、S254で作成されたリプライメールを送信元のメールアドレスに送信する。即ち、複合機50は、リプライメールを端末装置70に送信する(S256)。送信元のメールアドレスは、S248において一時的記憶領域56cに記憶されている。上記のS256の処理は、主設定データ記憶領域56aに記憶されている送信設定データを利用して実行される。
If YES is obtained in S242, the multi-function device 50 analyzes the contents of the e-mail (S244). Thereby, transmission setting data and reception setting data are specified. Next, the multi-function device 50 stores the transmission setting data and the reception setting data in the sub setting data storage area 56b (see FIG. 2) (S246). The multi-function device 50 stores the e-mail destination mail address (the mail address of the terminal device 70) (S248). This mail address is stored in the temporary storage area 56c.
The multi-function device 50 determines whether or not the execution value of the transmission test is “YES” (S250). This step is determined to be YES when “YES” is input to “TEST-send” in the test area 206 of FIG. On the other hand, if “NO” is input to “TEST-send” in the test area 206, NO is determined in S250.
If YES in S250, the multi-function device 50 executes an e-mail transmission test process (S252). This transmission test process is the same as the process of S64 of FIG. The multi-function device 50 creates a reply mail in which the transmission test result is described in the text (S254). FIG. 13 shows an example of the reply mail 210 created in S254.
Subsequently, the multi-function device 50 transmits the reply mail created in S254 to the mail address of the transmission source. That is, the multi-function device 50 transmits a reply mail to the terminal device 70 (S256). The sender's mail address is stored in the temporary storage area 56c in S248. The process of S256 is executed using the transmission setting data stored in the main setting data storage area 56a.

S250でNOの場合、又は、S256を終えた場合、複合機50は、受信テストの実行値が「YES」であるのか否かを判断する(S258)。このステップは、図11のテスト領域206の「TEST−recv」に「YES」が入力された場合に、YESと判断される。一方において、テスト領域206の「TEST−recv」に「NO」が入力された場合、S258でNOと判断される。
S258でYESの場合、複合機50は、電子メールの受信テスト処理を実行する(S260)。この受信テスト処理は、図6のS74の処理と同様である。複合機50は、受信テスト結果が本文に記述されたリプライメールを作成する(S262)。図14は、S262で作成されるリプライメール212の一例を示す。
続いて、複合機50は、S262で作成されたリプライメールを送信元のメールアドレス(端末装置70のメールアドレス)に送信する(S264)。このS264の処理は、主設定データ記憶領域56aに記憶されている送信設定データを利用して実行される。
If NO in S250 or if S256 is completed, the multi-function device 50 determines whether or not the execution value of the reception test is “YES” (S258). This step is determined to be YES when “YES” is input to “TEST-recv” in the test area 206 of FIG. On the other hand, if “NO” is input to “TEST-recv” in the test area 206, NO is determined in S258.
If YES in S258, the multi-function device 50 executes an e-mail reception test process (S260). This reception test process is the same as the process of S74 in FIG. The multi-function device 50 creates a reply mail in which the reception test result is described in the text (S262). FIG. 14 shows an example of the reply mail 212 created in S262.
Subsequently, the multi-function device 50 transmits the reply mail created in S262 to the mail address of the transmission source (mail address of the terminal device 70) (S264). The process of S264 is executed using the transmission setting data stored in the main setting data storage area 56a.

本実施例によると、端末装置70のユーザが、電子メールを利用して通信設定データを複合機50に送ることができる。複合機50と端末装置70をLAN回線92aによって接続しなくても、端末装置70から通信設定データを送ることができる。   According to the present embodiment, the user of the terminal device 70 can send communication setting data to the multi-function device 50 using electronic mail. Communication setting data can be sent from the terminal device 70 without connecting the multi-function device 50 and the terminal device 70 via the LAN line 92a.

(第3実施例)
本実施例では、複合機50によって実行されるメイン処理の内容が第1実施例と異なる。図15と図16は、本実施例の複合機メイン処理のフローチャートを示す。図15のS300〜S314の処理は、図6のS50〜S64の処理と同様である。このために、S300〜S314についての説明を省略する。
複合機50は、送信テスト処理(S314)を終了すると、送信テスト結果が「送信成功」であるのか否かを判断する(S316)。ここでYESの場合、複合機50は、副設定データ記憶領域56b(図2参照)に記憶されている送信設定データを主設定データ記憶領域56aにシフトする(S318)。これにより、主設定データ記憶領域56aの記憶内容が、送信テストが成功した送信設定データに更新される。S316でNOの場合は、S320に進む。S318を終えた場合も、S320に進む。S320は、図6のS66の処理と同様である。
(Third embodiment)
In the present embodiment, the content of the main process executed by the multi-function device 50 is different from that in the first embodiment. 15 and 16 are flowcharts of the main process of the multifunction machine according to this embodiment. The processes in S300 to S314 in FIG. 15 are the same as the processes in S50 to S64 in FIG. For this reason, explanation about S300-S314 is omitted.
After finishing the transmission test process (S314), the multi-function device 50 determines whether or not the transmission test result is “successful transmission” (S316). In the case of YES here, the multi-function device 50 shifts the transmission setting data stored in the sub setting data storage area 56b (see FIG. 2) to the main setting data storage area 56a (S318). As a result, the stored contents of the main setting data storage area 56a are updated to the transmission setting data for which the transmission test was successful. If NO in S316, the process proceeds to S320. Also after S318, the process proceeds to S320. S320 is the same as the process of S66 of FIG.

図16は、図15の続きのフローチャートを示す。図16のS322〜S328の処理は、図6のS68〜S74の処理と同様である。このために、S322〜S328についての説明を省略する。
複合機50は、受信テスト処理328を終了すると、受信テスト結果が「成功」であるのか否かを判断する(S330)。ここでYESの場合、複合機50は、副設定データ記憶領域56b(図2参照)に記憶されている受信設定データを主設定データ記憶領域56aにシフトする(S332)。これにより、主設定データ記憶領域56aの記憶内容が、受信テストが成功した受信設定データに更新される。S330でNOの場合は、S334に進む。S332を終えた場合も、S334に進む。S334は、図6のS76の処理と同様である。
図16のS336〜S340の処理は、図6のS78〜S82の処理と同様である。このために、S336〜S340についての説明を省略する。
FIG. 16 shows a flowchart subsequent to FIG. The processing in S322 to S328 in FIG. 16 is the same as the processing in S68 to S74 in FIG. For this reason, description about S322-S328 is abbreviate | omitted.
Upon completion of the reception test process 328, the multi-function device 50 determines whether or not the reception test result is “success” (S330). In the case of YES here, the multi-function device 50 shifts the reception setting data stored in the sub setting data storage area 56b (see FIG. 2) to the main setting data storage area 56a (S332). As a result, the stored contents of the main setting data storage area 56a are updated to the reception setting data for which the reception test was successful. If NO in S330, the process proceeds to S334. Also after S332, the process proceeds to S334. S334 is the same as the process of S76 of FIG.
The processes in S336 to S340 in FIG. 16 are the same as the processes in S78 to S82 in FIG. For this reason, description about S336-S340 is abbreviate | omitted.

本実施例によると、主設定データ記憶領域56aの記憶内容が、送信テスト又は受信テストが成功した通信設定データに自動的に更新される(図15のS318、図16のS332)。ユーザは、テストが成功した通信設定データを主設定データ記憶領域56aに記憶させる作業を実行する必要がない。   According to the present embodiment, the stored contents of the main setting data storage area 56a are automatically updated to the communication setting data that has been successfully transmitted or received (S318 in FIG. 15, S332 in FIG. 16). The user does not need to perform the operation of storing the communication setting data that has been successfully tested in the main setting data storage area 56a.

(第4実施例)
本実施例では、複合機50の一時的記憶領域56c(図2参照)に複合機50の管理者のメールアドレスが記憶されている。
また、本実施例では、端末装置70によって実行されるメイン処理の内容が第1実施例と異なる。図17と図18は、本実施例の端末装置メイン処理のフローチャートを示す。図17のS400〜S408の処理は、図5のS2〜S10の処理と同様である。このために、S400〜S408についての説明を省略する。
端末装置70は、S406でNOの場合にS410に進む。S410では、S400で入力された情報が、通信設定データを入力するためのソフトウェアを起動することを指示するものであるのか否かが判断される。S410でNOの場合、端末装置70は、他の処理を実行する(S412)。
S410でYESの場合、図19に示すウィンドウ100が表示装置74(図2参照)に表示される。次いで、端末装置70は、宛先アドレスセット処理を実行する(S414)。
(Fourth embodiment)
In this embodiment, the mail address of the administrator of the multi-function device 50 is stored in the temporary storage area 56c (see FIG. 2) of the multi-function device 50.
In the present embodiment, the contents of the main process executed by the terminal device 70 are different from those in the first embodiment. 17 and 18 are flowcharts of the main process of the terminal device according to this embodiment. The processes of S400 to S408 in FIG. 17 are the same as the processes of S2 to S10 in FIG. For this reason, description about S400-S408 is abbreviate | omitted.
The terminal device 70 proceeds to S410 if NO in S406. In S410, it is determined whether or not the information input in S400 is an instruction to start software for inputting communication setting data. In the case of NO in S410, the terminal device 70 executes another process (S412).
If YES in S410, the window 100 shown in FIG. 19 is displayed on the display device 74 (see FIG. 2). Next, the terminal device 70 executes a destination address setting process (S414).

図20は、宛先アドレスセット処理のフローチャートを示す。端末装置70は、管理者のメールアドレスを出力することを指示する命令を複合機50に出力する(S500)。複合機500は、この命令を入力すると、一時的記憶領域56cに記憶されている管理者のメールアドレスを出力する。端末装置70は、管理者のメールアドレスを取得する(S502)。次いで、端末装置70は、図19の設定項目120に管理者のメールアドレスを入力する(S504)。   FIG. 20 shows a flowchart of the destination address setting process. The terminal device 70 outputs an instruction to output the administrator's mail address to the multi-function device 50 (S500). When this command is input, the multi-function device 500 outputs the administrator's mail address stored in the temporary storage area 56c. The terminal device 70 acquires the administrator's email address (S502). Next, the terminal device 70 inputs the administrator's mail address in the setting item 120 of FIG. 19 (S504).

端末装置70は、図17のS414の宛先アドレスセット処理を終えると、S416を実行する。S416では、図19のアドレス検索ボタン240がクリックされたのか否かが判断される。ここでYESの場合、端末装置70は、アドレス検索処理を実行する(S418)。
図21は、アドレス検索処理のフローチャートを示す。端末装置70は、アドレス検索ダイアログを表示する(S520)。図22は、このダイアログ(ウィンドウ)250の一例を示す。ダイアログ250は、検察文字列を入力するための領域252と、アドレス検索ボタン254と、決定ボタン256と、キャンセルボタン258と、カーソル260を含んでいる。
図21のS522において、端末装置70は、ダイアログ250内にユーザによって情報が入力されるまで待機する。端末装置70は、アドレス検索ボタン254がクリックされたのか否かを判断する(S524)。ここでYESの場合、端末装置70は、LDAPサーバ86(図2参照)にアクセスする(S526)。端末装置70は、ダイアログ250の領域252に入力された文字列をLDAPサーバ86に出力する。図22の例では、「target」がLDAPサーバ86に出力される。LDAPサーバ86は、ユーザIDとメールアドレスの組合せを多数記憶している。LDAPサーバ86は、記憶しているユーザID群の中から、端末装置70から出力された文字列に一致する文字列を含むものを特定する。例えば、図22の例では、「target」を含むユーザIDが特定される。LDAPサーバ86は、特定したユーザIDとそのユーザIDと組にされているメールアドレスを端末装置70に出力する。
端末装置70は、LDAPサーバ86から出力されたユーザIDとメールアドレスを表示する(S528)。図22の例では、3組の検索結果が表示されている。
When the terminal device 70 finishes the destination address setting process of S414 in FIG. 17, it executes S416. In S416, it is determined whether or not the address search button 240 in FIG. 19 has been clicked. In the case of YES here, the terminal device 70 executes an address search process (S418).
FIG. 21 shows a flowchart of the address search process. The terminal device 70 displays an address search dialog (S520). FIG. 22 shows an example of this dialog (window) 250. The dialog 250 includes an area 252 for inputting a prosecution character string, an address search button 254, an enter button 256, a cancel button 258, and a cursor 260.
In S522 of FIG. 21, the terminal device 70 stands by until information is input by the user in the dialog 250. The terminal device 70 determines whether the address search button 254 has been clicked (S524). In the case of YES here, the terminal device 70 accesses the LDAP server 86 (see FIG. 2) (S526). The terminal device 70 outputs the character string input in the area 252 of the dialog 250 to the LDAP server 86. In the example of FIG. 22, “target” is output to the LDAP server 86. The LDAP server 86 stores many combinations of user IDs and mail addresses. The LDAP server 86 specifies a stored user ID group that includes a character string that matches the character string output from the terminal device 70. For example, in the example of FIG. 22, the user ID including “target” is specified. The LDAP server 86 outputs the identified user ID and the mail address paired with the user ID to the terminal device 70.
The terminal device 70 displays the user ID and mail address output from the LDAP server 86 (S528). In the example of FIG. 22, three sets of search results are displayed.

ユーザは、表示された複数のユーザID(メールアドレス)の中から1つのユーザIDを選択することができる。これは、図22のカーソル260を移動させることによって実行される。
端末装置70は、決定ボタン256がクリックされたのか否かを判断する(S530)。ここでYESの場合、カーソル260で選択されたメールアドレスを図19の設定項目120に入力する(S532)。S532を終えると、S536に進む。一方において、S530でNOの場合、端末装置70は、キャンセルボタン258がクリックされたのか否かを判断する(S534)。ここでYESの場合、S536に進む。S534でNOの場合は、S522に戻る。S536では、ダイアログ250が閉じられる。これにより、アドレス検索処理が終了する。
The user can select one user ID from among the plurality of displayed user IDs (mail addresses). This is executed by moving the cursor 260 in FIG.
The terminal device 70 determines whether or not the decision button 256 has been clicked (S530). In the case of YES here, the mail address selected by the cursor 260 is input to the setting item 120 in FIG. 19 (S532). When S532 ends, the process proceeds to S536. On the other hand, in the case of NO in S530, the terminal device 70 determines whether or not the cancel button 258 is clicked (S534). If YES here, the process proceeds to S536. If NO in S534, the process returns to S522. In S536, the dialog 250 is closed. Thereby, the address search process ends.

端末装置70は、アドレス検索処理が終了すると、図17のS420に進む。S416でNOの場合も、S420に進む。図17のS420〜S428の処理は、図5のS12〜S20の処理と同様である。このために、S420〜S428についての説明を省略する。
図18は、図17の続きのフローチャートを示す。図18のS430〜S444の処理は、図5のS22〜S36の処理と同様である。このために、S430〜S444についての説明を省略する。
端末装置70は、図19のキャンセルボタン108がクリックされた場合(S446でYESの場合)、図19のウィンドウ100を閉じる(S448)。
When the address search process ends, the terminal device 70 proceeds to S420 in FIG. If NO in S416, the process proceeds to S420. The processes in S420 to S428 in FIG. 17 are the same as the processes in S12 to S20 in FIG. For this reason, description about S420-S428 is abbreviate | omitted.
FIG. 18 shows a flowchart subsequent to FIG. The processes in S430 to S444 in FIG. 18 are the same as the processes in S22 to S36 in FIG. For this reason, the description about S430-S444 is abbreviate | omitted.
When the cancel button 108 in FIG. 19 is clicked (YES in S446), the terminal device 70 closes the window 100 in FIG. 19 (S448).

本実施例によると、端末装置70が、宛先アドレスセット処理(図17のS414)を実行する。これにより、テストメールの送信先のメールアドレス(図19の設定項目120)が自動的に入力される。端末装置70のユーザは、テストメールの送信先のメールアドレスを入力する必要がない。
さらに、端末装置70は、アドレス検索処理(図17のS418)を実行する。ユーザは、図22の領域252に検索文字列を入力することによって、テストメールの送信先のメールアドレスの候補を知ることができる。それらの候補の中から1つのメールアドレスが選択されると、そのメールアドレスが図19の設定項目120に自動的に入力される。ユーザは、テストメールの送信先のメールアドレスを容易に設定することができる。
According to the present embodiment, the terminal device 70 executes destination address set processing (S414 in FIG. 17). As a result, the mail address (setting item 120 in FIG. 19) of the test mail destination is automatically input. The user of the terminal device 70 does not need to input the mail address of the test mail transmission destination.
Further, the terminal device 70 executes an address search process (S418 in FIG. 17). The user can know the mail address candidates of the test mail transmission destination by inputting the search character string in the area 252 of FIG. When one mail address is selected from these candidates, the mail address is automatically input to the setting item 120 in FIG. The user can easily set the mail address of the test mail destination.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。
(1)第1実施例の複合機50は、通信テスト(送信テスト又は受信テスト)が開始されてから終了されるまでの間に電子メールの通信命令(送信命令又は受信命令)を入力すると、割り込み処理を実行して電子メールを通信する。しかしながら、複合機50は、割り込み処理を実行しなくてもよい。複合機50は、通信テストが終了した後に、電子メールの送信処理や受信処理を自動的に実行することができる。即ち、複合機50は、正常に機能する通信設定データを利用して送信処理や通信処理を実行するように指示する作業をユーザが行なわなくても、主設定用の通信設定データを利用して送信処理や通信処理を実行し続けることができる。
(2)電子メールの通信処理(図6のS52,S56)を実行するための制御装置と、通信テスト処理(S64,S74)を実行するための制御装置が、別体に構成されていてもよい。この場合、2つの制御装置が、通信処理と通信テスト処理を並列的に実行することができる。
(3)複合機50とサーバ80,82は、LAN回線によって接続されていてもよい。
(4)上記の複合機50が有する技術的特徴は、他のネットワーク装置にも適用することができる。例えば、パーソナルコンピュータ、サーバ、電話機(携帯電話も含む)等が利用することができる。
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above.
(1) When the multi-function device 50 of the first embodiment inputs an e-mail communication command (sending command or receiving command) between the start and end of the communication test (sending test or receiving test), Execute interrupt processing to communicate email. However, the multi-function device 50 may not execute interrupt processing. The multi-function device 50 can automatically execute e-mail transmission processing and reception processing after the communication test is completed. In other words, the multi-function device 50 uses the communication setting data for main setting even if the user does not instruct to perform transmission processing or communication processing using the communication setting data that functions normally. The transmission process and the communication process can be continuously executed.
(2) Even if the control device for executing the e-mail communication process (S52, S56 in FIG. 6) and the control device for executing the communication test process (S64, S74) are configured separately. Good. In this case, the two control devices can execute the communication process and the communication test process in parallel.
(3) The multi-function device 50 and the servers 80 and 82 may be connected by a LAN line.
(4) The technical features of the multi-function device 50 can be applied to other network devices. For example, a personal computer, a server, a telephone (including a mobile phone) and the like can be used.
The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.

本発明のネットワーク装置の構成図を示す。The block diagram of the network apparatus of this invention is shown. 実施例のネットワークシステムを示す。The network system of an Example is shown. 各装置の間でやりとりされる信号やデータを説明するための図を示す。The figure for demonstrating the signal and data which are exchanged between each apparatus is shown. 通信設定データを入力するためのウィンドウを示す。The window for inputting communication setting data is shown. 端末装置のメイン処理のフローチャートを示す。The flowchart of the main process of a terminal device is shown. 複合機のメイン処理のフローチャートを示す。2 shows a flowchart of a main process of the multifunction machine. 送信テスト処理のフローチャートを示す。The flowchart of a transmission test process is shown. POP before SMTP処理のフローチャートを示す。The flowchart of a POP before SMTP process is shown. SMTP−AUTH処理のフローチャートを示す。The flowchart of an SMTP-AUTH process is shown. 受信テスト処理のフローチャートを示す。The flowchart of a reception test process is shown. 電子メール内に入力される通信設定データを示す(第2実施例)。The communication setting data input into an email is shown (2nd Example). メール受信処理のフローチャートを示す。The flowchart of a mail reception process is shown. リプライメールの一例を示す。An example of reply mail is shown. リプライメールの一例を示す。An example of reply mail is shown. 複合機のメイン処理のフローチャートを示す(第3実施例)。9 shows a flowchart of a main process of the multifunction machine (third embodiment). 複合機のメイン処理のフローチャートを示す(図15の続き)。The flowchart of the main process of a multifunctional machine is shown (continuation of FIG. 15). 端末装置のメイン処理のフローチャートを示す(第4実施例)。The flowchart of the main process of a terminal device is shown (4th Example). 端末装置のメイン処理のフローチャートを示す(図17の続き)。The flowchart of the main process of a terminal device is shown (continuation of FIG. 17). 通信設定データを入力するためのウィンドウを示す。The window for inputting communication setting data is shown. 宛先アドレスセット処理のフローチャートを示す。The flowchart of a destination address set process is shown. アドレス検索処理のフローチャートを示す。The flowchart of an address search process is shown. アドレス検索ダイアログの一例を示す。An example of an address search dialog is shown.

符号の説明Explanation of symbols

10:ネットワーク装置
12:入力装置
14:記憶装置
16:通信装置
18:通信テスト装置
20:電子メール解析装置
22:出力装置
30:端末装置
32:サーバ
40:ネットワークシステム
50:複合機
52:スキャナ装置
54:制御装置
56:記憶装置
56a:主設定データ記憶領域
56b:副設定データ記憶領域
56c:一時的データ記憶領域
58:表示装置
60:操作装置
62:印刷装置
70:端末装置
80:POP3サーバ
82:SMTPサーバ
10: Network device 12: Input device 14: Storage device 16: Communication device 18: Communication test device 20: E-mail analysis device 22: Output device 30: Terminal device 32: Server 40: Network system 50: Multifunction device 52: Scanner device 54: Control device 56: Storage device 56a: Main setting data storage region 56b: Sub setting data storage region 56c: Temporary data storage region 58: Display device 60: Operating device 62: Printing device 70: Terminal device 80: POP3 server 82 : SMTP server

Claims (11)

電子メールの送信及び受信を実行することが可能であるネットワーク装置であり、
電子メールの送信及び受信を実行するための第1通信設定データを記憶する第1記憶領域と、
前記第1通信設定データを利用して電子メールの送信及び受信を実行することが可能である通信手段と、
前記通信手段によって受信された電子メールを解析することによって、電子メールの送信及び受信を実行するための第2通信設定データを特定する電子メール解析手段と、
前記電子メール解析手段によって特定された前記第2通信設定データを記憶する第2記憶領域と、
前記第1通信設定データを利用して前記通信手段が電子メールの送信及び受信を実行することができる状態を維持しながら、前記第2通信設定データを利用して電子メールの送信及び受信を実行することができるか否かをテストすることが可能である通信テスト手段とを備え
前記通信手段によって受信された前記電子メールは、電子メールの送信テストを実行するのか否かを示す第1情報と、電子メールの受信テストを実行するのか否かを示す第2情報とを含んでおり、
前記通信テスト手段は、前記通信手段によって受信された前記電子メールに含まれる前記第1情報が電子メールの送信テストを実行することを示す場合には、前記第2通信設定データに含まれる「電子メールの送信を実行するための通信設定データ」に基づいて、電子メールの送信を実行することができるか否かをテストし、
前記通信テスト手段は、前記通信手段によって受信された前記電子メールに含まれる前記第2情報が電子メールの受信テストを実行することを示す場合には、前記第2通信設定データに含まれる「電子メールの受信を実行するための通信設定データ」に基づいて、電子メールの受信を実行することができるか否かをテストする
ことを特徴とするネットワーク装置。
A network device capable of sending and receiving e-mails ;
A first storage area for storing first communication setting data for executing transmission and reception of e-mail;
Communication means capable of executing transmission and reception of an e-mail using the first communication setting data;
E-mail analyzing means for specifying second communication setting data for executing transmission and reception of e-mail by analyzing e-mail received by the communication means;
A second storage area for storing the second communication setting data specified by the e-mail analysis means;
Sending and receiving e-mails using the second communication setting data while maintaining a state where the communication means can send and receive e-mails using the first communication setting data and a communication test means it is possible to test whether it is possible to,
The e-mail received by the communication means includes first information indicating whether or not to execute an e-mail transmission test and second information indicating whether or not to execute an e-mail reception test. And
When the first information included in the electronic mail received by the communication means indicates that an electronic mail transmission test is to be executed, the communication test means includes “electronic” included in the second communication setting data. Based on the "communication setting data for sending email", test whether it can send email,
If the second information included in the electronic mail received by the communication means indicates that the electronic mail reception test is to be executed, the communication test means includes “electronic Test whether it is possible to receive e-mail based on "Communication setting data for receiving e-mail"
A network device.
前記通信テスト手段は、前記第2通信設定データに含まれる「電子メールの送信を実行するための通信設定データ」について肯定的なテスト結果が得られた場合に、前記第1記憶領域に記憶されている前記第1通信設定データに含まれる「電子メールの送信を実行するための通信設定データ」を、前記第2通信設定データに含まれる「電子メールの送信を実行するための通信設定データ」に更新し、
前記通信テスト手段は、前記第2通信設定データに含まれる「電子メールの受信を実行するための通信設定データ」について肯定的なテスト結果が得られた場合に、前記第1記憶領域に記憶されている前記第1通信設定データに含まれる「電子メールの受信を実行するための通信設定データ」を、前記第2通信設定データに含まれる「電子メールの受信を実行するための通信設定データ」に更新する
ことを特徴とする請求項1のネットワーク装置。
The communication test means is stored in the first storage area when a positive test result is obtained for “communication setting data for executing transmission of an e-mail” included in the second communication setting data. "Communication setting data for executing transmission of e-mail" included in the first communication setting data, and "communication setting data for executing transmission of e-mail" included in the second communication setting data. Updated to
The communication test means is stored in the first storage area when a positive test result is obtained with respect to “communication setting data for executing reception of e-mail” included in the second communication setting data. “Communication setting data for executing reception of electronic mail” included in the first communication setting data, and “communication setting data for executing reception of electronic mail” included in the second communication setting data. The network device according to claim 1, wherein the network device is updated .
前記通信テスト手段のテスト結果を出力する出力手段をさらに備える
ことを特徴とする請求項1又は2のネットワーク装置。
Network device according to claim 1 or 2, characterized by further comprising output means for outputting a test result of the communication test device.
端末装置と通信可能に接続される請求項3のネットワーク装置であり、
前記通信手段によって受信された前記電子メールが前記端末装置から送信されたものである場合に、前記出力手段は、前記通信テスト手段のテスト結果を当該端末装置に出力する
ことを特徴とするネットワーク装置。
The network device according to claim 3, wherein the network device is communicably connected to a terminal device .
When the electronic mail received by the communication unit is transmitted from the terminal device, the output unit outputs a test result of the communication test unit to the terminal device. .
前記第1及び第2通信設定データは、電子メールの送信及び受信を実行するためのサーバを特定するデータを含んでいる
ことを特徴とする請求項1から4のいずれかのネットワーク装置。
5. The network device according to claim 1, wherein the first and second communication setting data include data for specifying a server for executing transmission and reception of an e-mail .
前記通信テスト手段は、前記第2通信設定データに含まれるサーバに信号を出力し、その応答を監視することによって、当該サーバを利用して電子メールを通信することができるのかをテストする
ことを特徴とする請求項5のネットワーク装置。
The communication test means outputs a signal to a server included in the second communication setting data and monitors the response to test whether the server can communicate an e-mail. 6. The network device according to claim 5, wherein:
前記第2通信設定データは、ユーザ特定情報とパスワードを含んでおり、
前記通信テスト手段は、前記第2通信設定データに含まれるユーザ特定情報とパスワードが、当該第2通信設定データに含まれるサーバに登録されているのか否かを判断することによって、当該サーバを利用して電子メールを通信することができるのかをテストする
ことを特徴とする請求項5又は6のネットワーク装置。
The second communication setting data includes user identification information and a password,
The communication test means uses the server by determining whether or not the user specifying information and password included in the second communication setting data are registered in the server included in the second communication setting data. 7. The network apparatus according to claim 5 , wherein a test is performed to check whether the electronic mail can be communicated .
前記第2通信設定データは、ユーザ認証方式を特定するデータを含んでおり、
前記通信テスト手段は、前記第2通信設定データに含まれるユーザ認証方式が、当該第2通信設定データに含まれるサーバが実行可能なユーザ認証方式に一致するのか否かを判断することによって、当該サーバを利用して電子メールを通信することができるのかをテストする
ことを特徴とする請求項5から7のいずれかのネットワーク装置。
The second communication setting data includes data for specifying a user authentication method,
The communication test means determines whether the user authentication method included in the second communication setting data matches a user authentication method executable by the server included in the second communication setting data. 8. The network device according to claim 5 , wherein a test is performed to determine whether an electronic mail can be communicated using a server .
前記第2通信設定データは、ユーザ認証方式を特定するデータを含んでおり、
前記通信テスト手段は、前記第2通信設定データに含まれるユーザ認証方式がSMTP−AUTHである場合に、当該第2通信設定データに含まれる電子メール送信サーバが実行可能なSMTP−AUTHの認証メカニズムのリストを取得し、そのリストの中に含まれる認証メカニズム群の中でセキュリティレベルが高いものから優先的に当該電子メール送信サーバにユーザ認証を実行させることによって、当該電子メール送信サーバがいずれかの認証メカニズムを利用して電子メールを送信することができるのかをテストする
ことを特徴とする請求項5から8のいずれかのネットワーク装置。
The second communication setting data includes data for specifying a user authentication method,
When the user authentication method included in the second communication setting data is SMTP-AUTH, the communication test means includes an SMTP-AUTH authentication mechanism executable by the e-mail transmission server included in the second communication setting data. The list of authentication mechanisms included in the list is preferentially executed, and the email transmission server executes one of the email transmission servers by preferentially executing the user authentication from the highest security level. The network apparatus according to claim 5 , wherein a test is performed to determine whether an electronic mail can be transmitted using the authentication mechanism .
前記第2通信設定データは、電子メールの送信先のメールアドレスを含んでおり、
前記通信テスト手段は、前記第2通信設定データに含まれる電子メール送信サーバを利用して当該第2通信設定データに含まれるメールアドレスに電子メールを送信することを試行することによって、当該電子メール送信サーバを利用して電子メールを送信することができるのかをテストする
ことを特徴とする請求項5から9のいずれかのネットワーク装置。
The second communication setting data includes a mail address of an e-mail transmission destination,
The communication test means attempts to send an e-mail to an e-mail address included in the second communication setting data by using an e-mail transmission server included in the second communication setting data. 10. The network device according to claim 5 , wherein a test is performed to determine whether an electronic mail can be transmitted using a transmission server .
ネットワーク装置に搭載されるコンピュータに、以下の各処理、即ち、In the computer mounted on the network device, the following processes, that is,
電子メールの送信及び受信を実行するための第1通信設定データを記憶する第1記憶処理と、A first storage process for storing first communication setting data for executing transmission and reception of e-mail;
前記第1通信設定データを利用して電子メールの送信及び受信を実行する通信処理と、A communication process for performing transmission and reception of an e-mail using the first communication setting data;
前記通信処理で受信された電子メールを解析することによって、電子メールの送信及び受信を実行するための第2通信設定データを特定する電子メール解析処理と、An e-mail analyzing process for identifying second communication setting data for performing sending and receiving of e-mail by analyzing the e-mail received in the communication process;
前記電子メール解析処理で特定された前記第2通信設定データを記憶する第2記憶処理と、A second storage process for storing the second communication setting data specified in the electronic mail analysis process;
前記第1通信設定データを利用して前記通信処理で電子メールの送信及び受信を実行することができる状態を維持しながら、前記第2通信設定データを利用して電子メールの送信及び受信を実行することができるか否かをテストする通信テスト処理とSending and receiving e-mails using the second communication setting data while maintaining a state in which sending and receiving e-mails can be executed in the communication process using the first communication setting data Communication test process to test whether or not
を実行させ、And execute
前記通信処理で受信された前記電子メールは、電子メールの送信テストを実行するのか否かを示す第1情報と、電子メールの受信テストを実行するのか否かを示す第2情報とを含んでおり、The e-mail received in the communication process includes first information indicating whether or not to execute an e-mail transmission test and second information indicating whether or not to execute an e-mail reception test. And
前記通信テスト処理は、前記通信処理で受信された前記電子メールに含まれる前記第1情報が電子メールの送信テストを実行することを示す場合には、前記第2通信設定データに含まれる「電子メールの送信を実行するための通信設定データ」に基づいて、電子メールの送信を実行することができるか否かをテストし、When the first information included in the e-mail received in the communication process indicates that an e-mail transmission test is to be executed, the communication test process includes “electronic Based on the "communication setting data for sending email", test whether it can send email,
前記通信テスト処理は、前記通信処理で受信された前記電子メールに含まれる前記第2情報が電子メールの受信テストを実行することを示す場合には、前記第2通信設定データに含まれる「電子メールの受信を実行するための通信設定データ」に基づいて、電子メールの受信を実行することができるか否かをテストするWhen the second information included in the e-mail received in the communication process indicates that the e-mail reception test is to be executed, the communication test process includes “electronic Test whether it is possible to receive e-mail based on "Communication setting data for receiving e-mail"
ことを特徴とするコンピュータプログラム。A computer program characterized by the above.
JP2006223450A 2006-08-18 2006-08-18 Network device and computer program Active JP4301263B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2006223450A JP4301263B2 (en) 2006-08-18 2006-08-18 Network device and computer program
US11/838,372 US7756937B2 (en) 2006-08-18 2007-08-14 Network device
EP07253259.1A EP1890449B1 (en) 2006-08-18 2007-08-17 Network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006223450A JP4301263B2 (en) 2006-08-18 2006-08-18 Network device and computer program

Publications (2)

Publication Number Publication Date
JP2008046975A JP2008046975A (en) 2008-02-28
JP4301263B2 true JP4301263B2 (en) 2009-07-22

Family

ID=39180640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006223450A Active JP4301263B2 (en) 2006-08-18 2006-08-18 Network device and computer program

Country Status (1)

Country Link
JP (1) JP4301263B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092111A (en) * 2008-10-03 2010-04-22 Kawamura Electric Inc E-mail transmission terminal, e-mail authentication method setting method, and e-mail authentication method setting program
JP2015203930A (en) * 2014-04-11 2015-11-16 山洋電気株式会社 Email communication device
JP6572698B2 (en) * 2015-09-15 2019-09-11 富士ゼロックス株式会社 Information processing apparatus, information processing system, and program

Also Published As

Publication number Publication date
JP2008046975A (en) 2008-02-28

Similar Documents

Publication Publication Date Title
US10542173B2 (en) Information processing apparatus for transmitting data using destination and transmission setting received from an external apparatus, method for controlling information processing apparatus, and storage medium
CN103369180B (en) Messaging device and method
KR101496650B1 (en) An image forming apparatus supporting each of a wired and wireless network interface and a network connection method of the apparatus
JP5088351B2 (en) E-mail transmission device and program
JP4151709B2 (en) Data processing system, data processing method, and data processing program
JP4914186B2 (en) External device setting apparatus, external device setting method, and external device
JP4370286B2 (en) Data processing system, data processing method, and data processing program
JP4438868B2 (en) Data communication system, data transmission device, transmission destination update method, and transmission destination update program
US8151361B2 (en) Image-processing system enabling user to use a plurality of communicably connected image-processing apparatuses, image-processing apparatus, function execution authorizing method, and function execution authorizing program embodied in computer readable medium
US20070268906A1 (en) Information processing apparatus matching respective address data input at plurality of apparatuses and computer program embodies in a computer readable medium executed in information processing apparatus
US20220182504A1 (en) Information processing apparatus used for converting image to file, image processing system, method of controlling information processing apparatus, and storage medium
JP4301263B2 (en) Network device and computer program
US20070070410A1 (en) Device, program, method and system for data transmission
JP4245016B2 (en) E-mail communication apparatus and computer program
JP2008165444A (en) Information processing apparatus and information processing program
JP4301265B2 (en) Network device and network system
JP6273960B2 (en) Communication program, information processing apparatus, and scanner
JP7013695B2 (en) Image reader and control program
US20060294365A1 (en) Mail server authentication method and apparatus
JP2017059915A (en) Image forming apparatus, method, and program
KR101499553B1 (en) Method and apparatus for processing scan data
US8468468B2 (en) Data transmission system, device, and method
US7840580B2 (en) Peripheral device, search result storage method and computer program product
US8553258B2 (en) Image communication system, image reading device and communication device with evaluation information indicates re-reading of the image is necessary includes an additional image corresponding to the image data
JP2011045115A (en) Information processing apparatus, program and method for managing destination data

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080703

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080715

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080911

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090331

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4301263

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090413

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140501

Year of fee payment: 5