Q. Can you tell me in which component, file, etc is it that I configure the mail host that should be used to send out the password reminders.
You can configure mail settings of your application as follows:
- Run Code OnTime Generator and select your project.
- Click Next button a few times until your reach Web Server page in the project wizard.
- Paste the text from the sample below into Web.Config modification instructions field. Make sure to use your own SMTP server settings as values.
- Generate your project. The section system.net will be integrated into Web.Config file of your project whenever you generate the project next time.
<smtp deliveryMethod="Network" from="email@example.com">
Note that InsertAfter instruction will insert the XML snippet just after the connectionStrings section in Web.Config configuration file of your application.
You can learn more about configuring mailSettings at http://msdn.microsoft.com/en-us/library/w355a94k.aspx.