-
March 17th, 2008, 09:23 AM
#1
"Unable to read data from the transport connection: net_io_connectionclosed."
Can anyone know what this error about??
"Unable to read data from the transport connection: net_io_connectionclosed."
my code as...
string to = "abc@mymail.com";
string from = test@mymail.om;
string subject = "test";
string body = @"test email";
MailMessage message = new MailMessage(from, to, subject, body);
SmtpClient client = new SmtpClient("Mymailserver"); //172.20.70.34
client.Credentials = CredentialCache.DefaultNetworkCredentials;
client.Send(message);
i had set the IIS->Default SMTP Virtual Server->Properties->IP Address to "All unassigned"
-
March 17th, 2008, 11:17 AM
#2
Re: "Unable to read data from the transport connection: net_io_connectionclosed."
The connection you are attempting to use, is closed. Use packet monitoring tools to find out whether it was never open or if it closed prematurely
-
March 17th, 2008, 11:21 PM
#3
Re: "Unable to read data from the transport connection: net_io_connectionclosed."
Originally Posted by cjard
The connection you are attempting to use, is closed. Use packet monitoring tools to find out whether it was never open or if it closed prematurely
What is that about? Can you describe it more?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|