How to send e-mail to gmail/yahoo or any other ID from your
mail server.I need the code.
Answer / sunny
using System.Net.Mail;
public partial class _Default : System.Web.UI.Page
{
protected void btnsendmail_Click(object sender,
EventArgs e)
{
SmtpClient obj = new SmtpClient();
obj.Send(txt_from.Text, txt_to.Text,
txt_subject.Text, txt_body.Text);
}
}
| Is This Answer Correct ? | 0 Yes | 1 No |
If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
what is the difference between master page and content page?
Explain pipelining? : Dot net architecture
what are the fundamental and common properties of .net controls?
What is difference between .net and visual studio?
if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get
IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class
Define pipelining? : Dot net architecture
Which software is used for .net programming?
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
What is serialization, how it works in .NET?
What is the mesi? : Dot net architecture