I'm using the clean starter kit with umbraco 10 and was wondering where you set the email address for where the form is sent. It seems to default to sending to the from email address set in appsettings. Thanks in advance!
If you want you can copy the above surface controller into your project with a different class name, and point your form at that. Then you can get it to set the from and to address how you need it to.
Contact form "to" email address
I'm using the clean starter kit with umbraco 10 and was wondering where you set the email address for where the form is sent. It seems to default to sending to the from email address set in appsettings. Thanks in advance!
Hi Jason
Yes it uses the from address that is in the app settings smtp section.
https://github.com/prjseal/Clean-Starter-Kit-for-Umbraco-v9/blob/1ec837e53919004b6cd1ddc53ce0f863d993514e/Clean.Core/Controllers/Surface/ContactSurfaceController.cs#L62
If you want you can copy the above surface controller into your project with a different class name, and point your form at that. Then you can get it to set the from and to address how you need it to.
Kind regards
Paul
Thank you so much Paul!
Thank you for the github link
is working on a reply...