Page 1 of 1

Customer view previous order, CS0246, 'Smtpclient' not found

Posted: Thu Aug 06, 2009 4:16 pm
by ksolito
If a customer logs in and tries to view previous orders from their account, the following error is displayed.
[[ConLib:MyOrderPage]] h:\hshome\shooters\shootersconnectionstore.com\ConLib\MyOrderPage.ascx.cs(393): error CS0246: The type or namespace name 'SmtpClient' could not be found (are you missing a using directive or an assembly reference?)
This store was just updated from 7.0.2 to 7.0.3 with all hotfixes. Other store email functions work fine.

Re: Customer view previous order, CS0246, 'Smtpclient' not found

Posted: Fri Aug 07, 2009 4:38 am
by mazhar
Eidit your ConLib\MyOrderPage.ascx.cs file and add following statement at the end of other using statements at top

Code: Select all

using System.Net.Mail;