Copied to clipboard

Flag this post as spam?

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


  • Shawn Calvert 31 posts 196 karma points
    Jul 29, 2018 @ 09:16
    Shawn Calvert
    0

    Newsletter Studio install: issue with tinyMCE and skins

    I'm having an issue with installing Newsletter Studio; I tried installing through the backoffice package auto-install, and by manually uploading the zip file. I did uninstall and recheck the permissions and don't see any issues there.

    Everything seems to be working fine, in that there are no errors and I'm able to create and send basic text emails. However, some things weren't installed properly, from what I can tell:

    1. the RTE is using an existing datatype, the custom RTE datatype wasn't created -- the tinyMceConfig.config file wasn't modified (but the root web.config and applications.config files were)
    2. I can edit, create and select skins, but they aren't applied to the emails when previewing or sent.
    3. The newsletterStudio.config file was created, but it is missing quite a bit compared to the default example here (see below)

    I would appreciate any help, thank you

    --

    (this is the installed newsletterStudio.config file that was installed:

    <?xml version="1.0" encoding="utf-8"?>
    <newsletterStudio senderDefaultName="" senderDefaultEmail=""
       senderDefaultSettingsForced="false" unsubscribeConfirmUrl=""
       tinyMCEDataTypeId="0" sendFailuresBeforeUnsubscribingSubscriber="4"
       settingsOnlyForAdmins="false" allowUseOfSendOutPropertyEditorWithoutApplicationAccess="true"
       forceUnsubscribeFooter="false" activateCustomDataCollection="true"
       activateCssInliner="true" enableGoogleAnalyticsTracking="false"
       googleAnalyticsMedium="email" allowedTemplatesForRenderUrl=""
       googleAnalyticsSource="NewsletterStudio" googleAnalyticsName=""
       googleAnalyticsContent="" lastInstalledVersion="">
       <outgoingEmail sendConnectionTestEmailsTo="[email protected]"
           throttlingEnabled="false" throttlingMessagesPerBatch="100"
           throttlingSecondsBetweenBatches="0" messagesBeforeJumpingToNextServer="250">
           <smtpServers>
               <clear />
           </smtpServers>
       </outgoingEmail>
       <bounceManagement enabled="false" email="" host="" port="0" username=""
           password="" />
       <emailRenderingTasks>
           <clear />
       </emailRenderingTasks>
       <subscriptionProvideras>
           <clear />
       </subscriptionProviders>
    </newsletterStudio>
    
  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 31, 2018 @ 06:33
    Markus Johansson
    100

    Hi!

    Thanks for using the package!

    It looks like something went wrong during the installation, most of the time this has to do with permission settings to different folders or to the db. Since the process fails somewhere during the installation some steps are never executed.

    Did you see any errors in the trace log (app_data/logs)?

    I would try to remove all the files that was added and remove the tables from the database (starting with ns_) and reinstall the package.

    // m

  • Shawn Calvert 31 posts 196 karma points
    Jul 31, 2018 @ 17:55
    Shawn Calvert
    0

    Removing the tables from the database and reinstalling did the trick, thank you much!

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 02, 2018 @ 14:19
    Markus Johansson
    0

    Great news! Thanks for letting me know!

    If you have any questions, issues or feedback just let us know!

  • Shawn Calvert 31 posts 196 karma points
    Aug 03, 2018 @ 07:27
    Shawn Calvert
    0

    Hi Markus

    I'm sorry to contact you again, but I had another related (?) issue pop up that I really hope you recognize. I hope to use and purchase the package.

    After opening up the permissions and reinstalling, the preview and tinyMCE seemed to be installed properly. But for some reason, I'm now unable to send emails, even though it had worked before. Preview has also stopped working, and I'm stuck in where to troubleshoot the issue.

    When I was able to send an email, I deleted out the smtp server in the Newsletter config file, and it used the root web.config. That wasnt working with the currrent install, so I duplicated the server settings, tested it, and it confirmed the connection.

    enter image description here

    -- but when I try to send an email, it fails, and in the logs it says no SMTP is configured.

    enter image description here

    For the preview, the error only says "Error", with nothing in the logs. However, if I look in the console, I see this error:

    enter image description here

    It seems like maybe it's related to permissions still, around App_Plugins/NewsletterSudio/Backoffice/Newsletter?

    I'm stuck at the moment, any tips would be greatly appreciated.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 03, 2018 @ 08:47
    Markus Johansson
    0

    Hi!

    Could you double check that the configuration file looks similar to this one https://www.newsletterstudio.org/help/configure-newsletter-studio/default-newsletterstudioconfig/

    And also, if you try to create a new newsletter and enter all the fields again, and make sure that you have e-mail in the list that you are trying to send to.

    Are you using the "default sender name" or the "default sender email" and "Force defaults"? If thats the case it might help you to just create a new newsletter.

    The problem is that this error is thrown from the sending service and sometimes the root issue is something other than the SMTP-configuration. So we obviously need to improve this part of the error handling.

    Sorry for the inconvenience.

    Edit: And, is there any details about the error from the preview request? (The last image that you posted) It looks like there is something with the rendering of the newsletter that goes wrong.

    // m

  • Shawn Calvert 31 posts 196 karma points
    Aug 03, 2018 @ 15:49
    Shawn Calvert
    0

    Hi Markus,

    Thank you for getting back so quickly.

    We copied in the default config file, and turned on "Force sender defaults" which hid the Sender Name and Sender Address fields, and created a new newsletter, but we still get the same error -- this is the log:

    NewlsetterStudio:SendTestEmail. Could not send since there is no SMTP configured. Neither in /config/newsletterStudio.config-file or /web.config. Please add an SMTP-server. Details: Failure sending mail.,    at System.Net.Mail.SmtpClient.Send(MailMessage message)
       at NewsletterStudio.Services.Mail.NsSmtpClient.Send(MailMessage mail)
       at NewsletterStudio.Infrastucture.Services.SendService.SendTestEmail(Newsletter newsletter, String sendTestEmailTo)   at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)
       at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
       at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
       at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
       at System.Net.Mail.SmtpClient.GetConnection()
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
    2018-08-03 08:39:53,012 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
    2018-08-03 08:39:53,013 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
    2018-08-03 08:39:53,013 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolving [Umbraco.Web.Trees.TreeAttribute]Umbraco.Web.Trees.TreeController
    2018-08-03 08:39:53,015 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolved [Umbraco.Web.Trees.TreeAttribute]Umbraco.Web.Trees.TreeController (took 1ms)
    2018-08-03 08:39:53,024 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
    2018-08-03 08:39:53,025 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
    2018-08-03 08:39:53,025 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolving [umbraco.businesslogic.TreeAttribute]umbraco.interfaces.ITree
    2018-08-03 08:39:53,026 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolved [umbraco.businesslogic.TreeAttribute]umbraco.interfaces.ITree (took 0ms)
    2018-08-03 08:39:53,648 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
    2018-08-03 08:39:53,649 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
    2018-08-03 08:39:53,649 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolving umbraco.interfaces.ICacheRefresher
    2018-08-03 08:39:53,650 [P11268/D12/T263] INFO  Umbraco.Core.PluginManager - Resolved umbraco.interfaces.ICacheRefresher (took 1ms)
    

    thank you!

  • Shawn Calvert 31 posts 196 karma points
    Aug 03, 2018 @ 16:04
    Shawn Calvert
    0

    on the Preview -- it's working now but I'm not sure which change fixed it (update to config file or permissions)! I wasn't seeing errors in the log for that one, just in the console.

    What's strange (maybe) is that now I see a console error for sending that wasn't there before (I think...):

    enter image description here

  • Shawn Calvert 31 posts 196 karma points
    Aug 08, 2018 @ 19:46
    Shawn Calvert
    0

    Hi Marcus

    Just wanted to let you know we were able to sort out the issue with sending the newsletters. I -think- it was related to the SLL option and how our temporary dev server was setup, but not totally sure. We'll purchase a license as soon as it's moved over to the actual dev server. Thank you for your time in helping us figure it out.

    It's really an excellent package, and the integration with the content area is great.

    thanks!

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 10, 2018 @ 09:00
    Markus Johansson
    0

    Hi!

    Great news! Thanks for getting back an letting me know that you've got it sorted.

    Please don't hesitate to reach you if you have any other issues, questions for feedback!

    Cheers!

Please Sign in or register to post replies

Write your reply to:

Draft