Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matthijs Neven 3 posts 23 karma points
    Feb 02, 2018 @ 15:21
    Matthijs Neven
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Feb 05, 2018 @ 09:29
    Markus Johansson
    0

    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

  • Matthijs Neven 3 posts 23 karma points
    Feb 05, 2018 @ 10:20
    Matthijs Neven
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Feb 05, 2018 @ 11:48
    Markus Johansson
    0

    Hi!

    Yes, from the backoffice but I mean from the content-section or from the "Newsletter Studio"-section of the backoffice?

    // m

  • Matthijs Neven 3 posts 23 karma points
    Feb 05, 2018 @ 11:57
    Matthijs Neven
    0

    from the content-section

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Feb 06, 2018 @ 13:39
    Markus Johansson
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft