August 11, 1999 Board of Directors IDT, Inc. 2275 Swallow Hill Road Building 2500, 2nd Floor Pittsburgh, PA 15220 Gentlemen: We have examined the corporate records and proceedings of IDT, Inc., a Pennsylvania corporation (the "Company"), with respect to: 1. The organization of the Company; 2. The legal sufficiency of all corporate proceedings of the Company taken in connection with the creation, issuance, the form and validity, and full payment and non-assessability, of all the currently outstanding and issued common stock of the Company; and 3. The legal sufficiency of all corporate proceedings of the Company, taken in connection with the creation, issuance, the form and validity, and full payment and non-assessability, when issued, of shares of the Company's common stock (the "Shares"), to be issued by the Company covered by the registration statement (hereinafter referred to as the "Registration Statement") filed with the Securities and Exchange Commission on August 16, 1999, file number 33- EXHIBIT 5.1 Board of Directors Page 2 August 11, 1999 _______ (in connection with which Registration Statement this opinion is rendered). We have also examined such other documents and such questions of law as we have deemed to be necessary and appropriate, and on the basis of such examinations, we are of the opinion: (a) That the Company is duly organized and validly existing under the laws of the Commonwealth of Pennsylvania; (b) That the Company is authorized to issue 80,000,000 shares of common stock of which 10,087,500 shares of common stock were outstanding as of 1999. (c) That the Company has taken all necessary and required corporate proceedings in connection with the creation and issuance of the presently issued and outstanding shares of common stock and that all such stock so issued and outstanding has been validly issued, is fully paid and non-assessable, and is in proper form and valid; (d) That when the Registration Statement shall have been declared effective by order of the Securities and Exchange Commission, after a request for acceleration by the Company, and the Shares shall have been issued and sold upon the terms and conditions set forth in the Registration Statement, then the Shares will be validly authorized and legally issued, fully paid and non-assessable. Board of Directors Page 3 August 11, 1999 We hereby consent (1) to be named in the Registration Statement, and in the Prospectus which constitutes a part thereof, as the attorneys who will pass upon legal matters in connection with the sale of the Shares, and (2) to the filing of this opinion as an exhibit to the Registration Statement. Sincerely, Meyer, Unkovic & Scott, LLP