i have never authenticated in code. i don't think it does require it. i removed the port and authtication bit, so now all i see is the host, but i still have the same issue.
Main Topics
Browse All TopicsI'm getting the following error:
Unable to read data from the transport connection: net_io_connectionclosed
email_server is an actual ip address of our email server. i just stuck in the defaultcredentials and port because i seen it in other examples. i never had to do this in asp 1.1.
Any ideas here...
Web.config smtp section..
<mailSettings>
<smtp from="me@mycompany.com">
<network host="email_server" port="25" defaultCredentials="true"/
</smtp>
</mailSettings>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The following was copied from here
http://forums.asp.net/t/92
__________________________
What this error means is that System.net.mail was unable to find the smtp server.
The answer will vary depending on whether you have a fixed IP or a dynamic IP but,
basically, you need to assign a valid IP to your smtp server.
With fixed IP's this is relatively straightforward.
With dynamic IP's it takes a bit of tweaking.
Open the IIS Manager and check the properties for the smtp server.
In the Default SMTP Virtual Server's properties, in the "Access" tab,
in the Connection Control and Relay dialogs, make sure that your local IP is assigned.
( In my case, it's 10.0.0.2... )
You may also need to modify your hosts file, to point 127.0.0.1 to your machine name.
( \WINDOWS\system32\drivers\
Then, in your code, assign your machine name to the smtp client :
Dim client As New SmtpClient("yourmachinenam
client.Send(mail)
Juan T. Llibre
******AGAIN***** THE ABOVE IS COPIED FROM A POST IN THE LINK
does anyone else have a similar setup they can post a sample. i have an exchange server on my local domain. i just want to send a simple email using it. my pc is setup to allow relaying to the server. what exactly should i have in my web.config. in other versions of .net and sql server db mail i have never had to specify a port or a username/password.
thanks
I am not our network administrator so i don't know a lot about exchange server. What I do know is that we have a server which is our domain controller and exchange server. I am using a machine which is on the same domain as this machine. I found an article:
HOW TO: Set Up and Configure an SMTP Virtual server in Windows 2000.
What I'm wondering is do I now need an SMTP Virtual server in order to accomplish this. I went onto the box into IIS to see what was setup here and SMTP Virtual server is not setup on that box. Do I need to install this and have realying allowed on my machine in order to do this?
My machine is already specified as being allowed to relay in exchange server.
Business Accounts
Answer for Membership
by: carlnorrbomPosted on 2009-10-13 at 08:20:19ID: 25560920
Hi,
Does the smtp server require authentication or not? You just mention that you supply default credentials now and that you did not have to in 1.1?!? If you didn't provide credentials in 1.1 you shouldn't provide them in 3.5 either. The requirement of authentication is on the smtp server, it has nothing to do with which version of the framework you are using.
/Carl.