I recently moved a long-functioning web app from a Windows 2003 server to a windows 2008 server. Everything works fine, save for the email service (send password and the like). The code works on my local machine and the original web server. The system throws no errors, but the message stays endlessly in the Queue. I have granted full access to all relevant users (Network Service, IISUsers, etc). Is there something I'm missing, or does IIS7 just not send email via web applications?
you need to setup the smtp server on your server, please refer http://www.itsolutionskb.com/2008/11/installing-and-configuring-windows-server-2008-smtp-server/