Click here to Skip to main content
15,902,032 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDigitally sign old word documents Pin
Andrija Juric20-Aug-09 22:44
Andrija Juric20-Aug-09 22:44 
QuestionHow to maintain State in Wizard Control? Pin
meeram39520-Aug-09 22:36
meeram39520-Aug-09 22:36 
AnswerRe: How to maintain State in Wizard Control? Pin
padmanabhan N20-Aug-09 22:46
padmanabhan N20-Aug-09 22:46 
Questionadding web service from ftp Pin
Maverickcool20-Aug-09 21:45
Maverickcool20-Aug-09 21:45 
Questioncheck box checked event Pin
goel_nitin198720-Aug-09 21:32
goel_nitin198720-Aug-09 21:32 
AnswerRe: check box checked event Pin
Abhishek Sur20-Aug-09 21:41
professionalAbhishek Sur20-Aug-09 21:41 
QuestionUpload / Retrieve files remotely into / from share point server using its exposed web services Pin
Izhar Arman20-Aug-09 21:29
Izhar Arman20-Aug-09 21:29 
QuestionMail sending failed Pin
kavinnagarajan20-Aug-09 20:04
kavinnagarajan20-Aug-09 20:04 
When i try to send i caught as exception like below,


System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.SmtpReplyReader.ReadLine() at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message)


and mycode is

<br />
protected void Button1_Click(object sender, EventArgs e)<br />
    {<br />
        try<br />
        {<br />
            MailMessage mail = new MailMessage();<br />
            mail.From = new MailAddress("shankarganesh.mca@gmail.com");<br />
            mail.To.Add(new MailAddress("shankarganesh.mca@gmail.com"));<br />
            mail.Subject = "Subject";<br />
            mail.Body = "This is Body";<br />
            mail.IsBodyHtml = true;<br />
            mail.Priority = MailPriority.Normal;<br />
            SmtpClient client = new SmtpClient();<br />
            client.Send(mail);<br />
        }<br />
        catch (SmtpException ex)<br />
        {<br />
            Response.Write(ex.InnerException);<br />
        }<br />
    }


can anyone find solution for this?
AnswerRe: Mail sending failed Pin
Coding C#20-Aug-09 20:27
Coding C#20-Aug-09 20:27 
AnswerRe: Mail sending failed Pin
Christian Graus20-Aug-09 20:47
protectorChristian Graus20-Aug-09 20:47 
AnswerRe: Mail sending failed Pin
Vimalsoft(Pty) Ltd20-Aug-09 20:59
professionalVimalsoft(Pty) Ltd20-Aug-09 20:59 
AnswerRe: Mail sending failed Pin
Sundeep Ganiga20-Aug-09 23:05
Sundeep Ganiga20-Aug-09 23:05 
QuestionASP.NET web project master pages templates Pin
Chesnokov Yuriy20-Aug-09 19:32
professionalChesnokov Yuriy20-Aug-09 19:32 
AnswerRe: ASP.NET web project master pages templates Pin
Coding C#20-Aug-09 21:04
Coding C#20-Aug-09 21:04 
QuestionHow to setup custom language for site controls? Pin
Chesnokov Yuriy20-Aug-09 19:26
professionalChesnokov Yuriy20-Aug-09 19:26 
AnswerRe: How to setup custom language for site controls? Pin
Abhijit Jana20-Aug-09 19:39
professionalAbhijit Jana20-Aug-09 19:39 
AnswerRe: How to setup custom language for site controls? Pin
Abhishek Sur20-Aug-09 21:38
professionalAbhishek Sur20-Aug-09 21:38 
QuestionVitual directory Pin
Member 426027020-Aug-09 19:11
Member 426027020-Aug-09 19:11 
AnswerRe: Vitual directory Pin
Abhijit Jana20-Aug-09 19:40
professionalAbhijit Jana20-Aug-09 19:40 
GeneralRe: Vitual directory Pin
Member 426027020-Aug-09 19:52
Member 426027020-Aug-09 19:52 
QuestionEdit String Before Gridview Display Pin
VengefulSakhmet20-Aug-09 10:19
VengefulSakhmet20-Aug-09 10:19 
AnswerRe: Edit String Before Gridview Display Pin
Christian Graus20-Aug-09 11:41
protectorChristian Graus20-Aug-09 11:41 
GeneralRe: Edit String Before Gridview Display Pin
VengefulSakhmet20-Aug-09 12:09
VengefulSakhmet20-Aug-09 12:09 
GeneralRe: Edit String Before Gridview Display Pin
Christian Graus20-Aug-09 13:30
protectorChristian Graus20-Aug-09 13:30 
AnswerRe: Edit String Before Gridview Display Pin
Anurag Gandhi21-Aug-09 4:01
professionalAnurag Gandhi21-Aug-09 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.