I have hard time sending mails ater submission of Forms and executing a controller to process payment.
I have configured the webconfig for SMTP but still i am not receiving mails sent from EPiserver Forms.
Have you checked out the log files? Is there an error logged?
I usually use smtp4dev with default settings or specify a pickup directory:
<smtp from="firstname.lastname@example.org" deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="c:\temp\maildrop" />
Just to check if there is no error in setup or logic. If it still doesn't work, you'll need to get the error from the log file.
Hi Marija ,
it didn't worked . But can you please elabarote the logging part.
Please check how to set up logging in the documentation:
The best way to work with EPiserver Forms is to add a Initialization module and handle them as Form submission eventhandling.
We can read the data of the form before submitting and after submission . So in this manner we can update ot on the fly while form is not submitted but is to be submitted,