473,513 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Local SMTP Server Error

Hello All
I have just comeacross a problem:
I'm debugging a site on my local computer using Visual Studio.net.
When I send mail it gives error
"System.Runtime.InteropServices.COMException: The transport failed to connect
to the server"

Should I configure the SMTP server correctly or there is another problem.

Please help me. I wud be great ful
Nov 19 '05 #1
2 1035
Make sure anonymous access is selected in IIS and try again.

For your server option in your code use "localhost" to specifiy your local
smtp server.

regards,

saleemk

"zubair" wrote:
Hello All
I have just comeacross a problem:
I'm debugging a site on my local computer using Visual Studio.net.
When I send mail it gives error
"System.Runtime.InteropServices.COMException: The transport failed to connect
to the server"

Should I configure the SMTP server correctly or there is another problem.

Please help me. I wud be great ful

Nov 19 '05 #2
Hello Mr. Saleek

Thank u very much for your advise, I did it but now I don't get any error but:

It don't really send any email to any of internet mail accounts like "yahoo"
or "hotmail".

Anything else wud u please suggest me to correct this problem.

Thanx again Saleek

"saleek" wrote:
Make sure anonymous access is selected in IIS and try again.

For your server option in your code use "localhost" to specifiy your local
smtp server.

regards,

saleemk

"zubair" wrote:
Hello All
I have just comeacross a problem:
I'm debugging a site on my local computer using Visual Studio.net.
When I send mail it gives error
"System.Runtime.InteropServices.COMException: The transport failed to connect
to the server"

Should I configure the SMTP server correctly or there is another problem.

Please help me. I wud be great ful

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2992
by: jason | last post by:
What are the technical challenges in getting a local SMTP email server set up on a win3k system or alternatively on a win2k pro local work statation. We are on the verge of acquiring a new win3k...
0
1385
by: Ashish Sharma | last post by:
HI All, I urgently require a work around to get local SMTP Server Settings in IIS or smart host value if specified. We r using a Thiry Party Component which basically sends Secure Mails. Unlike...
1
8029
by: bivin | last post by:
hai i am requesting your technical support. please help me. i have been working with this for five days. the problem is relating with the smtp. i am trying to send an email from the asp.net...
2
2196
by: Steven K | last post by:
Hello, I am using the following to send mail. It works on my web server, but not on my personal machine (which is running ASP.Net). I tried setting SmtpMail.SmtpServer to "", but get the...
3
4009
by: Gancy | last post by:
Is there a way to programatically find a SMTP server available on the network? I am writing a C#.Net program, which should first find a SMTP server on LAN and use that SMTP server to send an...
0
3215
by: robpimentel | last post by:
Hi, I've been using DB2 for about 1 week, so please bear with me. DB2 Connect Enterprise Edition v8.1 FixPack 5 Windows Server 2003 Standard Edition SP1 Here is an error that continues to...
2
5844
by: | last post by:
I want to send email without Smtp Server. We have a Imail Server installed on our web server which requires Smtp server is not working on it. When i disable Smtp Server on the local machine Cdo...
7
4038
by: huntedsnark | last post by:
I am working on a webpage that is on a different server than the email server that the company wants me to use to send emails. Is it possible to change the PHP.ini file to use this non-local SMTP...
4
4813
by: lage | last post by:
Hi, I am working with a web site that uses CDONTS from a function in a Com+ component to send mail to clients after sign up etc, as well as sending clients mail to support from a web form. A...
0
7177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7559
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3248
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.