Author: babymonsta | Posted on: 8/25/2009 1:01:04 AM | Views : 239

Sorry for having so many questions! :( Im trying to send an email using my application to an email address given by the user. I got a fragment of code from http://www.dotnetspider.com/resources/21608-Sending-Email-Through-ASP-NET-using-C.aspx and edited it with my values retrieved from the user.

MailMessage message = new MailMessage();
        SmtpClient smtpClient = new SmtpClient();
        string msg = string.Empty;
        try
        {
            MailAddress fromAddress = new MailAddress("puilee2000@yahoo.com");
            message.From = fromAddress;
            message.To.Add("jess_foo@live.com");
 &n ...

Go to the complete details ...