Click here to Skip to main content
15,924,039 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to Set File Permission Pin
Dave Kreskowiak15-May-09 4:09
mveDave Kreskowiak15-May-09 4:09 
AnswerRe: How to Set File Permission Pin
tonym00115-May-09 9:25
tonym00115-May-09 9:25 
QuestionSending mail from VB.NET code error Pin
Radzivil Vladimir14-May-09 22:57
Radzivil Vladimir14-May-09 22:57 
AnswerRe: Sending mail from VB.NET code error Pin
N a v a n e e t h14-May-09 23:54
N a v a n e e t h14-May-09 23:54 
GeneralRe: Sending mail from VB.NET code error Pin
Radzivil Vladimir15-May-09 0:55
Radzivil Vladimir15-May-09 0:55 
AnswerRe: Sending mail from VB.NET code error Pin
Johan Hakkesteegt14-May-09 23:59
Johan Hakkesteegt14-May-09 23:59 
GeneralRe: Sending mail from VB.NET code error Pin
Radzivil Vladimir15-May-09 0:56
Radzivil Vladimir15-May-09 0:56 
GeneralRe: Sending mail from VB.NET code error Pin
Johan Hakkesteegt15-May-09 2:45
Johan Hakkesteegt15-May-09 2:45 
Radzivil Vladimir wrote:
System.IO.IOException: Unable to read data from the transport connection


This suggests that you should look for the problem in the connection to the smtp server.

Radzivil Vladimir wrote

Dim credential As New System.Net.NetworkCredential(Email.Text, Password.Text)

Dim mailSender As New System.Net.Mail.SmtpClient()
mailSender.Host = "smtp.mail.yahoo.com"
mailSender.Port = 465
mailSender.EnableSsl = True
mailSender.Credentials = credential


So probably the first thing to check is this code. Is the host correct, and the port. Should SSL be enabled or not. You could test commenting out mailSender.Port and/or mailSender.EnableSsl

Is there a mistake in the password maybe? Perhaps the implicit conversion between Cyrillic and Latin scripts causes a wrong password or email address?

I am sorry, I can't really say more about this. If it keeps failing, you could search the net for Yahoo related code.

Good luck,

Johan

My advice is free, and you may get what you paid for.

AnswerRe: Sending mail from VB.NET code error Pin
Mohammed.Al-Qaisi25-May-09 6:26
Mohammed.Al-Qaisi25-May-09 6:26 
QuestionProblem with report generation Pin
nazimghori14-May-09 22:40
nazimghori14-May-09 22:40 
AnswerRe: Problem with report generation Pin
Dalek Dave14-May-09 23:20
professionalDalek Dave14-May-09 23:20 
QuestionRegarding Winsock Control Pin
specialdreamsin14-May-09 22:37
specialdreamsin14-May-09 22:37 
AnswerRe: Regarding Winsock Control Pin
Zaegra14-May-09 23:06
Zaegra14-May-09 23:06 
AnswerRe: Regarding Winsock Control Pin
Dave Kreskowiak15-May-09 2:30
mveDave Kreskowiak15-May-09 2:30 
QuestionCan we make the VB6.0 Application as Macro compatible? Pin
rakesh_grbb14-May-09 20:13
rakesh_grbb14-May-09 20:13 
AnswerRe: Can we make the VB6.0 Application as Macro compatible? Pin
Johan Hakkesteegt15-May-09 0:11
Johan Hakkesteegt15-May-09 0:11 
QuestionDeclaring a array Pin
nishkarsh_k14-May-09 17:20
nishkarsh_k14-May-09 17:20 
AnswerRe: Declaring a array Pin
Dave Kreskowiak14-May-09 17:58
mveDave Kreskowiak14-May-09 17:58 
AnswerRe: Declaring a array Pin
Zaegra14-May-09 23:03
Zaegra14-May-09 23:03 
GeneralRe: Declaring a array Pin
Dave Doknjas15-May-09 15:21
Dave Doknjas15-May-09 15:21 
GeneralRe: Declaring a array Pin
Zaegra16-May-09 2:03
Zaegra16-May-09 2:03 
GeneralRe: Declaring a array Pin
Dave Doknjas16-May-09 4:11
Dave Doknjas16-May-09 4:11 
GeneralRe: Declaring a array Pin
Johan Hakkesteegt17-May-09 20:06
Johan Hakkesteegt17-May-09 20:06 
GeneralRe: Declaring a array Pin
LCARS x3225-May-09 14:29
LCARS x3225-May-09 14:29 
QuestionHow Do I Insert Rows into a table dynamicly? Pin
r_mohd14-May-09 16:36
r_mohd14-May-09 16:36 

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.