|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sending EmailHi, How do I send email with properties stored in my web.config ? Does
someone has any example ? How should the web.config be ? Wich statements ? I don't find any examble in Internet, can someone please help me ? Thanks in Advance Hi,
Your Config ========= <configuration> <appSettings> <add key="EmailServerName" value="mail.YourDomain.com"/> </appSettings> <system.web> <customErrors mode="Off" /> </system.web> </configuration> Your code behind ============= Dim MailSarver As String = ConfigurationSettings.AppSettings("EmailServerName") Also take a look @ http://www.4guysfromrolla.com/webtech/080801-1.shtml HTH Show quoteHide quote "Daniel Groh" wrote: > Hi, How do I send email with properties stored in my web.config ? Does > someone has any example ? How should the web.config be ? Wich statements ? > > I don't find any examble in Internet, can someone please help me ? > > Thanks in Advance > > >
Carrying data for a Datagrid from page to page
debugging javascript code Default Unit for Font Size developing ASP.NET/Webservices without local IIS Displaying the all the name-value pairs of the session object? File transfer useing <a in VB POST AND REDIRECT IN C# ASP.NET compile model detail resizing window without Javascript? Visual Studio .NET has detected Web server is not running ASP.NET 1.1 |
|||||||||||||||||||||||