KaushaL.NET

Archive for September 5th, 2008

Accessing Web.Config File SMTP Mail Settings Programmatically

Posted by: Kaushal on: September 5, 2008

I needed to read my SMTP email settings defined under system.net section in my web.config file. In order to use eNewsLetter and other SiteAdmin CMS modules that sending email notifications; you can setup your web.config to defind SMTP services settings.
Below is one example of SMTP email setting defined in web.config file:
(Under <configuration> Section)
<system.net>
<mailSettings>
<smtp deliveryMethod=”Network” from=”testuser@domail.com”>
<network [...]

Auto Postback or Refresh page for every defined time interval

Posted by: Kaushal on: September 5, 2008

The Scenario may come where application needs data to be updated automatically. The Question comes; Is there a way by which we can auto refresh a page for specific time interval so as to update the Content(automatically).
The ultimate goal is; we want to refresh our page automatically at a defined time interval. First, if you [...]


Victims

  • 39,086 Hits

Calendar

September 2008
M T W T F S S
« Aug   Jan »
1234567
891011121314
15161718192021
22232425262728
2930  

Archives

KaushaL Parik (Microsoft MVP – ASP.NET)