I'm struggling to find a solution in the forums about my issue altho this seems to be basic one.
I have an XForm with the following settings:
This form works without any issues. When a user submits the form, the system redirects to a "Thank you" page.
However, when I change the 'Result from sending' property to 'Send e-mail', the ModelState suddenly becomes false with the following error:
The form could not be sent to an e-mail address
I have tried a couple of things:
Both solutions didn't work.
I do know that I have the right IP Address as I installed an SMTP-client on the same server and was able to send emails successfully.
I'm running an ASP.NET MVC application using EPiServer 8.9.
Any help would be highly appreciated!
Do you have smtp settings defined in web.config:
<network host="REPLACE_THIS" />
Does it work if you save emails on the file system:
<smtp deliveryMethod="SpecifiedPickupDirectory" from="firstname.lastname@example.org">
<specifiedPickupDirectory pickupDirectoryLocation="C:\SomePath" />
Have you checked log files?