s6y Egain Corp S-8

Egain Corp S-8, filed Oct 1, 2008: Opinion of Pillsbury Winthrop Shaw Pittman LLP

EXHIBIT 5.1

October 1, 2008

eGain Communications Corporation

345 E. Middlefield Road

Mountain View, CA 94043

 

  Re: Registration Statement on Form S-8

Ladies and Gentlemen:

We are acting as counsel for eGain Communications Corporation, a Delaware corporation (the “Company”), in connection with the registration statement on Form S-8 (the “Registration Statement”) relating to the registration under the Securities Act of 1933 (the “Act”) of 500,000 shares of the common stock of the Company (the “Shares”) pursuant to the eGain Communications Corporation 2005 Management Stock Option Plan (the “Plan”).

We have reviewed and are familiar with such corporate proceedings and other matters as we have deemed necessary for this opinion. Based upon the foregoing, we are of the opinion that the Shares have been duly authorized and, when issued and sold in accordance with the Plan, will be legally issued, fully paid and nonassessable. This opinion is limited to matters governed by the General Corporation Law of the State of Delaware.

We hereby consent to the filing of this opinion as Exhibit 5.1 to the Registration Statement. In giving this consent, we do not thereby admit that we are within the category of persons whose consent is required under Section 7 of the Act or the rules and regulations of the Securities and Exchange Commission promulgated thereunder.

Very truly yours,

/s/ PILLSBURY WINTHROP SHAW PITTMAN LLP

PILLSBURY WINTHROP SHAW PITTMAN LLP