Hi,everyone:
On my local machine,the asp.net program CAN send emails.BUT on x10hosting server,the SAME PROGRAM,with the SAME EMAIL ACCOUNT.it doesn't.I have tried many times.
Is it allowed to send emails in Asp.net?
If yes,what's the problem?
If no,:dunno:
Thanks.
errors following:
Thread was being aborted
Description: HTTP 500. Error processing request.
Stack Trace:
System.Threading.ThreadAbortException: Thread was being aborted at ASP.sendemail_aspx.btnSend_Click (System.Object sender, System.EventArgs e) [0x00000] at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000] at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000] at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000] at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] at System.Web.UI.Page.RaisePostBackEvents () [0x00000] at System.Web.UI.Page.ProcessRaiseEvents () [0x00000] at System.Web.UI.Page.InternalProcessRequest () [0x00000] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
On my local machine,the asp.net program CAN send emails.BUT on x10hosting server,the SAME PROGRAM,with the SAME EMAIL ACCOUNT.it doesn't.I have tried many times.
Is it allowed to send emails in Asp.net?
If yes,what's the problem?
If no,:dunno:
Thanks.
errors following:
Thread was being aborted
Description: HTTP 500. Error processing request.
Stack Trace:
System.Threading.ThreadAbortException: Thread was being aborted at ASP.sendemail_aspx.btnSend_Click (System.Object sender, System.EventArgs e) [0x00000] at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000] at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000] at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000] at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] at System.Web.UI.Page.RaisePostBackEvents () [0x00000] at System.Web.UI.Page.ProcessRaiseEvents () [0x00000] at System.Web.UI.Page.InternalProcessRequest () [0x00000] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]