Configuring SMTP for Umbraco
# help-with-umbraco
d
Hi im trying to setup my SMTP settings to no avail just yet. I have set up a sendgrid api key and have changed my appsettings to look like:
Copy code
"Smtp": {
        "From": "__myemail__",
        "Host": "smtp.sendgrid.net",
        "Username": "apikey",
        "Password": "__sendgridapikey__"
      }
when I trigger an umbraco form workflow to send the email it returns with these logs [16:26:05 INF] Form Entry Submitted - Form Entry Id: 9ca4f052-821b-44a6-a07c-7c176d9440b6, Form Id: d601e99a-8932-4d39-9396-62285cab8651, User: [16:26:05 ERR] Core email service reports that email message cannot be sent. [16:26:05 INF] Form Entry Approved - Form Entry Id: 9ca4f052-821b-44a6-a07c-7c176d9440b6, Form Id: d601e99a-8932-4d39-9396-62285cab8651, User: if someone could help me out it would be greatly appreciated 🙏
k
If you invite a user or send a health check email notification (which uses the same smtp settings), do you get better errors in the logs?
d
resloved now, I didnt have SMTP info underneath Global in appsettings.json 🤢
74 Views