https://discord.umbraco.com logo
#help-with-umbraco
Umbraco 10 Send Mail with Tamplate from Workflow
# help-with-umbraco
a

adi_yaish

09/28/2023, 7:37 AM
When I choose to send an email with a template - The form fails to send. Should I write a special cs file to send the form? Do I need to update something and it will send without interfering with the code?
a

alina

09/28/2023, 7:49 AM
Hi Adi! Can you elaborate how is the forms failing to send? Can you check the error logs (or log viewer from backoffice settings section) to see what error you get? When working with Umbraco Forms "send mail" workflows, you need to make sure that have an SMTP service in place: https://docs.umbraco.com/umbraco-cms/reference/configuration/globalsettings#smtp-settings. I was wondering if you all ready have this?
a

adi_yaish

09/28/2023, 7:54 AM
yes of course!
a

alina

09/28/2023, 8:09 AM
can you try to submit a form and take a look again at the logs to check the error you get at the time you submit the form and see if it is the same or another one?
also, you recieve a mail with the entry but it is just the template that is not working as it should? This is just to determine that the issue is not with the SMTP service but perhaps it is with the template: https://docs.umbraco.com/umbraco-forms/editor/attaching-workflows/workflow-types#send-email-with-template-razor 🤔