Is it possible to use Newsletterstudio in a site which is protected via windows authentication?
When I try to send the newsletter (test mail or final), a 500-error occur durring downloading the html
Well, you can replace the built in way to download content from a URL, this way you could add your windows authentication details to the request that downloads the content.
There is a example of how to replace the default GlobalFactory here:https://github.com/enkelmedia/NewsletterStudioContrib/tree/master/Newsletter%20Studio%20V2/NewsletterStudioContrib/Factory
You'll have to create your own implementation of IUmbracoUtilityFacade, best way is to inherit the NewsletterStudio.Infrastucture.Umbraco.UmbracoUtilityStandardFacade in your own class and override the method "GetRenderedContentFor(..)" with your custom implementation.
And then create your custom GlobalFactory by inheriting from the DefaultNewsletterStudioGlobalFactory and override the method UmbracoUtilities().
If you need more one on one support we offer this as a paid service, please send me an email: markus [at sign goes here] enkelmedia.se and I'll help you out.
Using in windows authentication protected site
Is it possible to use Newsletterstudio in a site which is protected via windows authentication? When I try to send the newsletter (test mail or final), a 500-error occur durring downloading the html
Hi!
This might be a scenario that is not fully supported out of the box.
I guess that you are using either the "Render Content"-feature or are sending from the backoffice?
Which one of these are you using?
// m
Hi Markus,
I'm trying to send from the backoffice. The error occurs durring the post request "savenewsletter".
Is there a way to avoid this?
regards
Hi!
Yes, from the backoffice but I mean from the content-section or from the "Newsletter Studio"-section of the backoffice?
// m
from the content-section
Hi!
Well, you can replace the built in way to download content from a URL, this way you could add your windows authentication details to the request that downloads the content.
There is a example of how to replace the default GlobalFactory here:https://github.com/enkelmedia/NewsletterStudioContrib/tree/master/Newsletter%20Studio%20V2/NewsletterStudioContrib/Factory
You'll have to create your own implementation of IUmbracoUtilityFacade, best way is to inherit the NewsletterStudio.Infrastucture.Umbraco.UmbracoUtilityStandardFacade in your own class and override the method "GetRenderedContentFor(..)" with your custom implementation.
And then create your custom GlobalFactory by inheriting from the DefaultNewsletterStudioGlobalFactory and override the method UmbracoUtilities().
If you need more one on one support we offer this as a paid service, please send me an email: markus [at sign goes here] enkelmedia.se and I'll help you out.
// m
is working on a reply...