Click here to Skip to main content
15,904,348 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: SQl Pin
Hema Bairavan1-Jan-10 7:39
Hema Bairavan1-Jan-10 7:39 
GeneralRe: SQl Pin
Brij1-Jan-10 19:04
mentorBrij1-Jan-10 19:04 
AnswerRe: SQl Pin
Abhijit Jana1-Jan-10 7:52
professionalAbhijit Jana1-Jan-10 7:52 
GeneralRe: SQl Pin
Hema Bairavan1-Jan-10 7:53
Hema Bairavan1-Jan-10 7:53 
QuestionHow to handle request validation exception Pin
THE SK1-Jan-10 5:48
THE SK1-Jan-10 5:48 
AnswerRe: How to handle request validation exception Pin
Anurag Gandhi1-Jan-10 6:39
professionalAnurag Gandhi1-Jan-10 6:39 
AnswerRe: How to handle request validation exception Pin
Brij1-Jan-10 7:20
mentorBrij1-Jan-10 7:20 
QuestionProblem in sending email [modified] Pin
Khaled.Hossain1-Jan-10 5:05
Khaled.Hossain1-Jan-10 5:05 
I am writing a code which send Email to the respective email address. First time its working fine. But after sending my first email its not accept my program and I am not able to send email again. I put the code snippet here.


Dim smtpServer As New SmtpClient
Dim messageSTR As New MailMessage
Dim strAddress As New MailAddress("Email address", "Name") 

messageSTR.From = strAddress 
messageSTR.To.Add("To Email Address")
messageSTR.Subject = Me.txtSub.Text
messageSTR.Body = Me.txtMailBody.Text

smtpServer.Host = "smtp.gmail.com" 
smtpServer.Port = 578 

smtpServer.Credentials = New NetworkCredential("user id", "user pass")

smtpServer.EnableSsl = true
smtpServer.Send(messageSTR)


What is the problem? Why I don't send the second mail?

Exception Shown: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 209.85.129.109:578.
Error Message: Unable to connect to the remote server

modified on Friday, January 1, 2010 11:23 AM

AnswerRe: Problem in sending email Pin
Brij1-Jan-10 5:17
mentorBrij1-Jan-10 5:17 
AnswerRe: Problem in sending email Pin
Khaled.Hossain1-Jan-10 5:30
Khaled.Hossain1-Jan-10 5:30 
GeneralRe: Problem in sending email Pin
AhsanS1-Jan-10 5:38
AhsanS1-Jan-10 5:38 
GeneralRe: Problem in sending email Pin
Brij1-Jan-10 6:04
mentorBrij1-Jan-10 6:04 
GeneralRe: Problem in sending email Pin
Khaled.Hossain1-Jan-10 16:27
Khaled.Hossain1-Jan-10 16:27 
QuestionFacebook like portal Pin
syedsaqib1-Jan-10 4:08
syedsaqib1-Jan-10 4:08 
AnswerRe: Facebook like portal Pin
AhsanS1-Jan-10 5:40
AhsanS1-Jan-10 5:40 
QuestionHow to read available control from a aspx file? Pin
Md. Marufuzzaman31-Dec-09 23:26
professionalMd. Marufuzzaman31-Dec-09 23:26 
AnswerRe: How to read available control from a aspx file? Pin
N a v a n e e t h1-Jan-10 3:09
N a v a n e e t h1-Jan-10 3:09 
GeneralRe: How to read available control from a aspx file? Pin
Abhijit Jana1-Jan-10 3:49
professionalAbhijit Jana1-Jan-10 3:49 
GeneralRe: How to read available control from a aspx file? Pin
N a v a n e e t h1-Jan-10 3:57
N a v a n e e t h1-Jan-10 3:57 
GeneralRe: How to read available control from a aspx file? Pin
Md. Marufuzzaman1-Jan-10 3:59
professionalMd. Marufuzzaman1-Jan-10 3:59 
GeneralRe: How to read available control from a aspx file? Pin
N a v a n e e t h1-Jan-10 4:20
N a v a n e e t h1-Jan-10 4:20 
GeneralRe: How to read available control from a aspx file? Pin
Md. Marufuzzaman1-Jan-10 5:15
professionalMd. Marufuzzaman1-Jan-10 5:15 
Questionadd fieldset control on run time Pin
S.Aijaz31-Dec-09 20:43
S.Aijaz31-Dec-09 20:43 
AnswerRe: add fieldset control on run time Pin
m-khansari1-Jan-10 18:43
m-khansari1-Jan-10 18:43 
QuestionContinue C++ managed AND unmanaged project in VB Pin
chana gibber31-Dec-09 9:34
chana gibber31-Dec-09 9:34 

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.