Is there anybody that knows this problem? I am trying to send email using my web site host but getting this error.
Server Error in '/' Application.
The remote name could not be resolved: 'smtp.kavurmacukuru.org.tr'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The remote name could not be resolved: 'smtp.kavurmacukuru.org.tr'
Source Error:
Line 53: smt.Port = 587;
Line 54: smt.EnableSsl = true;
Line 55: smt.Send(msg);
Line 56: lbmsg.Text = "Kullanıcı adınız ve şifreniz mail adresinize gönderildi.";
Line 57: lbmsg.ForeColor = System.Drawing.Color.ForestGreen;
Source File: d:\home\kavurmacukuru.org.tr\httpdocs\sifrehatirlat2\ForgetPassword.aspx.cs Line: 55
Stack Trace:
[WebException: The remote name could not be resolved: 'smtp.kavurmacukuru.org.tr']
System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6) +6640228
System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback) +302
System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback) +23
System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) +328
System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint) +141
System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint) +222
System.Net.Mail.SmtpClient.GetConnection() +45
System.Net.Mail.SmtpClient.Send(MailMessage message) +1557
[SmtpException: Failure sending mail.]
System.Net.Mail.SmtpClient.Send(MailMessage message) +1905
Default2.Button1_Click(Object sender, EventArgs e) in d:\home\kavurmacukuru.org.tr\httpdocs\sifrehatirlat2\ForgetPassword.aspx.cs:55
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9712662
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639