try it outside of App_Code. See what happens. On Fri, Dec 5, 2008 at 5:40 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote:
> > Ok, > > Strangeness going on here. > > I am developing a Web App, and have configured the mail settings in > the webconfig for forgot password functionality and the like. WORKS > FINE > > In one page I use System.Net.Mail.SmtpClient to send a password > changed email. WORKS FINE. > > In another I do the same thing from a class located in the App_Code > Directory. DOESNT WORK. > I am not currently encapsulating the send call in a try > catch. > There are no exceptions being thrown. > There is no email being sent. > There is nothing in the event viewer of the development > machine. > > Does anyone have any idea what is going on here or where to go next > debugging. > (I have checked the status of the instance of the newly created > smtpclient and it appears to have all the correct settings) > > Thanks in advance, > > Steve
