hi, I want to send email from passwordrecovery control so that user can get there password by email, i am using this this code in web.config file. This is the SMTP Server: mail.musiciq.co.uk given to me by discountasp.net. When i use this code then it gives error <system.net> <mailSettings> <smtp deliveryMethod="Network"> <network defaultCredentials="false" host="mail.musiciq.co.uk" password="password" userName="definitivem" from="[email protected]" /> </smtp> </mailSettings> </system.net> thanks
The host should be set to 'localhost', and no need for username and password. Aristotle DiscountASP.NET www.DiscountASP.NET