Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Submitting XForms with Send e-mail option (With hotfix 2)

Vote:
 
Hello. When submitting an XForm (with send e-mail option), I get the following error. -------------------------------------------------------------- /templates/xform/errorpostingtoemail 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: EPiServer.XForms.XFormTransatedException: /templates/xform/errorpostingtoemail Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [XFormTransatedException: /templates/xform/errorpostingtoemail] EPiServer.XForms.Implementation.EMailConnection.SendMail(MailMessage message) +137 EPiServer.XForms.Implementation.EMailConnection.SendMail(MailMessage message) +0 EPiServer.XForms.Implementation.EMailConnection.SendEmail(Object sender, ChannelEventArgs e) +75 EPiServer.BaseLibrary.Channel.ChannelEventHandler.Invoke(Object sender, ChannelEventArgs e) +0 EPiServer.Implementation.SynchronousChannel.Send(IItem item) +49 EPiServer.Implementation.DefaultRepository.Send(String channelId, IItem item) +35 EPiServer.XForms.XFormData.Send(Guid formId) +110 EPiServer.XForms.WebControls.XFormControl.SubmitForm(ChannelOptions options) +831 EPiServer.XForms.WebControls.Submit.SubmitForm(Object sender, EventArgs e) +206 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Page.ProcessRequestMain() +742 --------------------------------------------------------------- This error message does not give me too much to go on, so hopefully someone out there has encountered this before, and know the reason. EPiserver version: 4.50 Hotfixes: 1 & 2 The key "EPsSmtpServer" in web.config has been given a value (tried multiple). With this key set to blank, nothing happens when trying to submit the form. (No error, but no functionality either). Regards, Terje
#17458
Sep 30, 2005 10:38
Vote:
 
It seems that this error is produced when the sender e-mail adress in the form is from a non-existing/illegal domain. An idea for elektropost might be to produce a more helpful errormessage for this error. (Like the System.Web.Mail namespace does).
#18242
Sep 30, 2005 11:04
Vote:
 
The original exception should be logged as an error with the following syntax and containing the Exception: 12.4.1 Cant send email for posting
#18243
Oct 07, 2005 9:38
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.