Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
transport failed to connect to server
October 31, 2009
Exception Details: System.Runtime.InteropServices.COMException: The transport failed to connect to the server.
Line 84: System.Web.Mail.SmtpMail.SmtpServer = "192.168.1.1";//use ur SmtpServer Number.
Line 85: // System.Net.Mail.SmtpClient=
Line 86: System.Web.Mail.SmtpMail.Send(mail);
Line 88: Response.Write("Username and Password has been sent to ur Mail ID");
Posted Date: October 31, 2009 Points: 5
It seems like you SMTP server information is wrong. Please check the SMTP Server IP Address and also if it requires authentication than supply the smtp user name and password for authentication on SmtpClient object.
Mark As Answer
" if this post help you.
Posted Date: November 04, 2009 Points: 5
First check ur codings using with gmail smtp port 465.
And some format is not correct in ur codings
To post reply
Related Questions Related Questions
Unable to Connect to the ASP.NET Development Server
connect outlook to sql server
Report Builder 3.0 cannot connect to Report Server
failed to generate a user instance of SQL server due to failure in starting the process for user ins
How to copy a file from server to local system
To save image in the SQL server.
Image store in Database SQL SERVER
How to get the current row in SQL Server 2005
how to connect mysql with asp.net
Sql Server Concepts with syntax and Examples
Latest Forum Questions From The Same Category
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend