Unable to send d email in asp.net 2.0 application
-
I have been trying to send an email from ASP.NET 2.0 application. It worked fine when i executed the code in the localhost. I was able to send mails through the email server and also received the same. But when i deployed the same code in ftp server I am unable to send the email. Exception I received is: "Failure sending mail.System.Net.WebException: Unable to connect to the remote server". Can anyone help me out in dis. Regards Ramya
-
I have been trying to send an email from ASP.NET 2.0 application. It worked fine when i executed the code in the localhost. I was able to send mails through the email server and also received the same. But when i deployed the same code in ftp server I am unable to send the email. Exception I received is: "Failure sending mail.System.Net.WebException: Unable to connect to the remote server". Can anyone help me out in dis. Regards Ramya
I believe the exception is self-explanatory. Check if the deployed server can actually reach the mail server you are trying to use.
only two letters away from being an asset
-
I believe the exception is self-explanatory. Check if the deployed server can actually reach the mail server you are trying to use.
only two letters away from being an asset
Hi Mark, I understand ur point. But there are two things that has to be noted here. 1. I am able to send email from an asp page inside the same ftp server to mail server that i mentioned earlier, which means that ftp server and mail server are accessible. 2. I am able to access the mail server from my aspx page in localhost , which means that mail server is accessible from aspx page too. I dont know where exactly the problem is.
-
Hi Mark, I understand ur point. But there are two things that has to be noted here. 1. I am able to send email from an asp page inside the same ftp server to mail server that i mentioned earlier, which means that ftp server and mail server are accessible. 2. I am able to access the mail server from my aspx page in localhost , which means that mail server is accessible from aspx page too. I dont know where exactly the problem is.
Just because you can access the smtp server from you local host does not mean it can be accessed from from the it is deployed on. If the asp page works, compare it to the aspx page, what is different about the mail aspect. There is obviously something different. Have you debugged on the remote server?
only two letters away from being an asset
-
Just because you can access the smtp server from you local host does not mean it can be accessed from from the it is deployed on. If the asp page works, compare it to the aspx page, what is different about the mail aspect. There is obviously something different. Have you debugged on the remote server?
only two letters away from being an asset
-
After deploying it in the ftp, how is it possible to debug the code? I dnt know the way to do it. Kindly let me know if there is any.
http://support.microsoft.com/kb/910448[^] http://www.google.com/search?source=ig&hl=en&rlz=&q=remote+debugging+Visual+Studio[^]
only two letters away from being an asset
-
http://support.microsoft.com/kb/910448[^] http://www.google.com/search?source=ig&hl=en&rlz=&q=remote+debugging+Visual+Studio[^]
only two letters away from being an asset