Hi this is probably something simple , but I have spend so ong trying to resolve. I am unable to send email with forms renderer package. Could you advise on the correct settings. My web.config is:
<system.net>
and the error i get is....
Server Error in '/' Application.
Unable to send mail. Please ensure that web.config has correct /configuration/system.net/mailSettings: Server does not support secure connections.
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.InvalidOperationException: Unable to send mail. Please ensure that web.config has correct /configuration/system.net/mailSettings: Server does not support secure connections.
Source Error:
Line 186: catch (Exception ex)
Line 187: {
Line 188: throw ex;
Line 189: }
Line 190: }
Source File: c:\Users\leegodden\Documents\Visual Studio 2012\Projects\Composite\CompositeC1\Website\Frontend\Composite\Forms\Renderer\Controls\FormsRender.ascx.cs Line: 188
Stack Trace:
[InvalidOperationException: Unable to send mail. Please ensure that web.config has correct /configuration/system.net/mailSettings: Server does not support secure connections.]
FormsRenderer_FormsRender.Send_Click(Object sender, EventArgs e) in c:\Users\leegodden\Documents\Visual Studio 2012\Projects\Composite\CompositeC1\Website\Frontend\Composite\Forms\Renderer\Controls\FormsRender.ascx.cs:188
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9553178
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="levi@goddoni.fsnet.co.uk" >
<network host="smtp.myhost.co.uk" enableSsl="true" port="25" defaultCredentials="false" userName="xxxxxxxx" password="xxxxxxxx" />
</smtp>
</mailSettings>
</system.net>and the error i get is....
Server Error in '/' Application.
Unable to send mail. Please ensure that web.config has correct /configuration/system.net/mailSettings: Server does not support secure connections.
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.InvalidOperationException: Unable to send mail. Please ensure that web.config has correct /configuration/system.net/mailSettings: Server does not support secure connections.
Source Error:
Line 186: catch (Exception ex)
Line 187: {
Line 188: throw ex;
Line 189: }
Line 190: }
Source File: c:\Users\leegodden\Documents\Visual Studio 2012\Projects\Composite\CompositeC1\Website\Frontend\Composite\Forms\Renderer\Controls\FormsRender.ascx.cs Line: 188
Stack Trace:
[InvalidOperationException: Unable to send mail. Please ensure that web.config has correct /configuration/system.net/mailSettings: Server does not support secure connections.]
FormsRenderer_FormsRender.Send_Click(Object sender, EventArgs e) in c:\Users\leegodden\Documents\Visual Studio 2012\Projects\Composite\CompositeC1\Website\Frontend\Composite\Forms\Renderer\Controls\FormsRender.ascx.cs:188
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9553178
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724