I tried to send a test email using the demo campaign and it was unable to send the email.
This was the error in the network tab.
)]}',
{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.13","title":"Unsupported Media Type","status":415,"detail":null,"instance":null,"extensions":{"traceId":"00-f6e8e49a9ac5ea4a9decf7e611b8eaff-270c3f5f0010c941-00"}}
Here are the settings I have in appsettings.Development.json
Thank you so much for testing out the RC for Umbraco 9!
It looks like it might be some validation error or something, do you happen to know which API-endpoint that returned the 415-status?
It might be related to configuration. You need to configure a Email Service Provider for the Workspace (Administration -> Manage). The default setting is a SMTP Pickup that will put email is c:\temp\smtp so I guess it might be related to permissions?
This gave me an idea that we should have a provider that uses the appSettings.config-settings as well.
There is nothing to tell you what went wrong in the UI, maybe a notification would be good here, to tell you where and how to set up the mail sending settings.
Newsletter Studio v9 testing
Hi
I tried to send a test email using the demo campaign and it was unable to send the email.
This was the error in the network tab.
Here are the settings I have in appsettings.Development.json
I am also using smtp4dev which normally works with these settings
I hope it helps
Paul
Hi Paul!
Thank you so much for testing out the RC for Umbraco 9!
It looks like it might be some validation error or something, do you happen to know which API-endpoint that returned the 415-status?
It might be related to configuration. You need to configure a Email Service Provider for the Workspace (Administration -> Manage). The default setting is a SMTP Pickup that will put email is c:\temp\smtp so I guess it might be related to permissions?
This gave me an idea that we should have a provider that uses the appSettings.config-settings as well.
// m
The endpoint was
https://localhost:44304/umbraco/backoffice/NewsletterStudio/Campaign/SendTestEmail
There is nothing to tell you what went wrong in the UI, maybe a notification would be good here, to tell you where and how to set up the mail sending settings.
This is how I send emails using the appsettings.json settings https://github.com/prjseal/Clean-Starter-Kit-for-Umbraco-v9/blob/main/Clean.Core/Controllers/Surface/ContactSurfaceController.cs
Cheers
Paul
Hi!
Thanks! Yes, I agree - i think that there is some error with how the error gets serialized. I need to check.
Thanks! I'll have a look =D
is working on a reply...