The web admin pages don't work when setting up an email provider, instead you get a compilation error; Compiler Error Message: CS0246: The type or namespace name 'MailSettingsSection' could not be found (are you missing a using directive or an assembly reference?)
You have a choice of fixes, either set your mail settings manually in web.config;
<configuration>
<system.net>
<mailSettings>
<smtp>
<network host="mailServerFQDN" password="" userName="" from="fromAddress" />
</smtp>
</mailSettings>
</system.net>
</configuration>
or fix the broken code;
Open the SMTPSettings.aspx file in the 'C:\WINDOWS\Microsoft.NET\Framewor k\v2.0.50215\ASP.NETWebAdminFiles\AppConfig' folder. Your path might be slig htly different, but that should be enough to help you find it.
Change the 2 instances of this line
MailSettingsSection netSmtpMailSection =
(MailSettingsSection) config.GetSection("system.net/mailSettings");
to this..
MailSettingsSectionGroup netSmtpMailSection =
(MailSettingsSectionGroup) config.GetSectionGroup("system.net/mailSettings");