Copied to clipboard

Flag this post as spam?

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


  • Kristoffer Eriksen 185 posts 465 karma points
    Aug 20, 2013 @ 10:30
    Kristoffer Eriksen
    0

    Unsubscribe doesn't work

    In my emailtemplate I got a link at the bottom

    <a href="/[unsubscribe]">Afmeld nyhedsbrev</a>

    Which is translated to:

    http://nyhedsbrev.naestvedteater.dk/umbraco/newsletterstudio/tracking/trackclick.aspx?nid=kDoVnut%2b8zc%3d&e=raOJtoInOAkvtZHl6bKUMg%3d%3d&url=http%3a%2f%2fnyhedsbrev.naestvedteater.dk%2f%5bunsubscribe%5d

    But when the users click on the link, they just get an "page don't exist" 


  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 20, 2013 @ 13:12
    Markus Johansson
    0

    Hi!

    It looks like the link points to http://nyhedsbrev.naestvedteater.dk/unsubscribe/ which dosent exsist?

    Did you set the Unsubscribe confirmation url in the settings?

    / M

  • Kristoffer Eriksen 185 posts 465 karma points
    Aug 20, 2013 @ 13:41
    Kristoffer Eriksen
    0

    Hey Marcus

    No, I didn't set any unsibscribe URL in the settings.

    Should it be set to something specific, or is there a default, if it isn't set ?

    /Kristoffer

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 20, 2013 @ 15:10
    Markus Johansson
    0

    Hi!

    What version of Umbraco and Newsletter Studio are you using?

    The default link points to something like /umbraco/newsletterstudio/tracking/unsubscribe.aspx, is very strange that your link dosen't point to the correct location. Can you double-check your settings? Look in the /config/newsletterStudio.config as well.

    Is is a clean installation?

  • Kristoffer Eriksen 185 posts 465 karma points
    Aug 20, 2013 @ 15:28
    Kristoffer Eriksen
    0

    Newsletter Studio v1.3.1

    So there is no config file under /config/ but a webconfig in /Umbraco/newsletterstudio

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <configSections>
            <section name="newsletterStudio" type="NewsletterStudio.Bll.Configuration.NewsletterStudioConfig"/>
        </configSections>
        <newsletterStudio unsubscribeConfirmUrl="" tinyMCEDataTypeId="1060"
            sendFailuresBeforeUnsubscribingSubscriber="4" settingsOnlyForAdmins="true"
            forceUnsubscribeFooter="false" enableGoogleAnalyticsTracking="false"
            googleAnalyticsMedium="" allowedTemplatesForRenderUrl="" googleAnalyticsSource=""
            googleAnalyticsName="" googleAnalyticsContent="">
            <outgoingEmail throttlingEnabled="true" throttlingMessagesPerBatch="25"
                throttlingSecondsBetweenBatches="5" messagesBeforeJumpingToNextServer="50">
                <smtpServers>
                    <add name="Local" host="xxx.xxx.xx" port="25" username=""
                        password="" enableSsl="false" />
                </smtpServers>
            </outgoingEmail>
            <bounceManagement enabled="false" email="" host="" port="0" username=""
                password="" />
            <emailRenderingTasks>
                <task name="AddTrackingPixelRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRenderTask, NewsletterStudio" />
                <task name="FitIntoTemplateRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.FitIntoTemplateRenderTask, NewsletterStudio" />
                <task name="ReplaceUnsubscribeRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUnsubscribeRenderTask, NewsletterStudio" />
                <task name="ReadOnlineRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReadOnlineRenderTask, NewsletterStudio" />
                <task name="ReplaceLocalLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceLocalLinksRenderTask, NewsletterStudio" />
                <task name="AddFullDomainToRelativeSrcsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddFullDomainToRelativeSrcsRenderTask, NewsletterStudio" />
                <task name="RenderUrlRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.RenderUrlRenderTask, NewsletterStudio" />
                <task name="ReplaceRelativeLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceRelativeLinksRenderTask, NewsletterStudio" />
                <task name="GoogleAnalyticsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.GoogleAnalyticsRenderTask, NewsletterStudio" />
                <task name="AddClickTagsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddClickTagsRenderTask, NewsletterStudio" />
                <task name="ReplaceUniqMergeFieldsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUniqMergeFieldsRenderTask, NewsletterStudio" />
            </emailRenderingTasks>
            <subscriptionProviders>
                <provider name="NewsletterStudioSubscriptionProvider" type="NewsletterStudio.Bll.Providers.NewsletterStudioSubscriptionProvider, NewsletterStudio" />
                <provider name="UmbracoSubscriptionProvider" type="NewsletterStudio.Bll.Providers.UmbracoSubscriptionProvider, NewsletterStudio" />
            </subscriptionProviders>
        </newsletterStudio>

      

    </configuration>
  • Kristoffer Eriksen 185 posts 465 karma points
    Aug 20, 2013 @ 15:29
    Kristoffer Eriksen
    0

    umbraco v 4.11.1 (Assembly version: 1.0.4715.27659)

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 21, 2013 @ 16:41
    Markus Johansson
    0

    Hi!

    Do you have any custom render tasks or something? Are you really sure that the link really looks as you described? The render tasks that replaces the placeholder looks like this:

                string url = ProtocolAndHost + "umbraco/newsletterstudio/tracking/unsubscribe.aspx?e=[trackemail]&sb=[subscriptionid];
                
                // If forceUnsubscribe-setting i true and no tag is includes. Force one.
                if (forceUnsubscribeFooter && !renderResult.MessageBody.Contains("[unsubscribe]"))
                {
                    // Force it!
                    renderResult.MessageBody = renderResult.MessageBody + string.Format("<a href=\"{0}\" style=\"background:#fff; color:#000\">Unsubscribe</a>", url);
                }


    I have never seen this problem and can' explain why you are not getting the corrects urls. Could you PM me and provid me with a login to your enviroment? My email is markus [at sign goes here] enkelmedia.se.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 22, 2013 @ 17:12
    Markus Johansson
    0

    Hi!

    Just to follow up on this and to share the solution. It turned out that the links looked like this:

    <a href="http://nyhedsbrev.naestvedteater.dk/[unsubscribe]">Afmeld nyhedsbrev</a>

    Since we only replace "/[unsubscribe]" with the url but not the whole URL above. So the correct code would be:

    <a href="/[unsubscribe]">Afmeld nyhedsbrev</a>

    Cheers!
     

  • Kristoffer Eriksen 185 posts 465 karma points
    Aug 22, 2013 @ 21:45
    Kristoffer Eriksen
    0

    Hey Markus

    I've read your email, but I'm not sure where you did find the link you mention ?

    In my xslt, which generate the newsletter, the link is written as <a href="/[unsubscribe]">Afmeld nyhedsbrev</a>

    /Kristoffer

  • Kristoffer Eriksen 185 posts 465 karma points
    Aug 22, 2013 @ 21:48
    Kristoffer Eriksen
    0

    The content for the newsletter is created under the contentnode in Umbraco, generated by the xslt, in th xslt folder.

    The customer then imports the content/url by "insert url content".

  • Kristoffer Eriksen 185 posts 465 karma points
    Aug 28, 2013 @ 15:51
    Kristoffer Eriksen
    101

    Hey Markus

    As promised in the mail.

    Your solution with changing the order ind the web.config in /umbraco/newsletterstudio/ so

    RenderUrlRenderTask happens before ReplaceUnsubscribeRenderTask  did the job.

    Old order:

    <emailRenderingTasks>

          <taskname="AddTrackingPixelRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRenderTask, NewsletterStudio" />

          <taskname="FitIntoTemplateRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.FitIntoTemplateRenderTask, NewsletterStudio" />

          <taskname="ReplaceUnsubscribeRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUnsubscribeRenderTask, NewsletterStudio" />

          <taskname="ReadOnlineRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReadOnlineRenderTask, NewsletterStudio" />

          <taskname="ReplaceLocalLinksRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceLocalLinksRenderTask, NewsletterStudio" />

          <taskname="AddFullDomainToRelativeSrcsRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.AddFullDomainToRelativeSrcsRenderTask, NewsletterStudio" />

          <taskname="RenderUrlRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.RenderUrlRenderTask, NewsletterStudio" />

          <taskname="ReplaceRelativeLinksRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceRelativeLinksRenderTask, NewsletterStudio" />

          <taskname="GoogleAnalyticsRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.GoogleAnalyticsRenderTask, NewsletterStudio" />

          <taskname="AddClickTagsRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.AddClickTagsRenderTask, NewsletterStudio" />

          <taskname="ReplaceUniqMergeFieldsRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUniqMergeFieldsRenderTask, NewsletterStudio" />

     

        </emailRenderingTasks>

     

    New order

     

    <emailRenderingTasks>

          <taskname="AddTrackingPixelRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRenderTask, NewsletterStudio" />

          <taskname="FitIntoTemplateRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.FitIntoTemplateRenderTask, NewsletterStudio" />

          <taskname="RenderUrlRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.RenderUrlRenderTask, NewsletterStudio" />

          <taskname="ReplaceUnsubscribeRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUnsubscribeRenderTask, NewsletterStudio" />

          <taskname="ReadOnlineRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReadOnlineRenderTask, NewsletterStudio" />

          <taskname="ReplaceLocalLinksRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceLocalLinksRenderTask, NewsletterStudio" />

          <taskname="AddFullDomainToRelativeSrcsRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.AddFullDomainToRelativeSrcsRenderTask, NewsletterStudio" />

          <taskname="ReplaceRelativeLinksRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceRelativeLinksRenderTask, NewsletterStudio" />

          <taskname="GoogleAnalyticsRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.GoogleAnalyticsRenderTask, NewsletterStudio" />

          <taskname="AddClickTagsRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.AddClickTagsRenderTask, NewsletterStudio" />

          <taskname="ReplaceUniqMergeFieldsRenderTask"type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUniqMergeFieldsRenderTask, NewsletterStudio" />

        </emailRenderingTasks>

     

     


  • Kristoffer Eriksen 185 posts 465 karma points
    Aug 28, 2013 @ 15:52
    Kristoffer Eriksen
    0

    Ok that looks f****** up. But hope you get the idea...

  • Paul Fowles 75 posts 184 karma points
    Sep 16, 2013 @ 16:02
    Paul Fowles
    0

    Hi

    I'm also coming across this situation with newsletter 1.3.7 trial version with mysql and using umbraco 4.7. I'm using the web config smtp server so ive deleted the smtp servers tag in newsletter.config and ive tried with/without unsubscribe confirmation page. My newsletter.config is in the correct order for the email rendering Tasks that the solution from Kris specifies however each time i get this message from my url (/umbraco/newsletterstudio/tracking/unsubscribe.aspx?e=)   :- "Could not remove the e-mail. It's either already removed or something is wrong with the configuration. Please contact the web site administrator."  

    The email address isn't removed. What am I missing? There doesn't appear to be any documentation on newsletterstudio.org or here on how to set unsubscription up?

    Thanks

    Paul  

     

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 17, 2013 @ 10:38
    Markus Johansson
    0

    Are you sending an accual email or "test email"? The test e-mails can't unsubscribe so you will need to send a real send out.

    There is some reading here: http://support.newsletterstudio.org/customer/portal/articles/1052808-basic-settings

    But its just as easy as insering a link to with href="[unsubscripbe]" 

    // m

  • Paul Fowles 75 posts 184 karma points
    Sep 17, 2013 @ 14:26
    Paul Fowles
    0

    Hi Markus,

    Thanks for getting back to me these are actual emails, could this be because I'm using the trial version or that the web config smtp server is being used.

    I'm using the predifined templates so <div>Click here to <a href="/[unsubscribe]">unsubscribe</a>.</div> is available. I've just tried it now with my work and my personnal(gmail account). Oddly the gmail account unsubscribes but my my work email doesn't. Is it because the smtp server has a similar url to my work email?

    ie.

    smtp host = mail.work.co.uk 

    work email = [email protected] ( fake email but you get the gist)    

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 17, 2013 @ 14:28
    Markus Johansson
    0

    Hi!

    This could be if your work email strips some characters from the message? What is the generated URL in the message? What client are you using? 

  • Paul Fowles 75 posts 184 karma points
    Sep 17, 2013 @ 17:24
    Paul Fowles
    0

    Hi,

    for my personal email gmail had the unsubscription query

    ?e=P3pTDNxRGyjR31gxPBwh/u2zyN4g9VeR&sb=NewsletterStudioSubscriptionProvider_3&nid=DBmy1lDv5ak=

    The work email had query string

    ?e=8wZMhlmVA5tSHlmbto7bSBrXbSxwcfDC/gta8x+si+8=&sb=NewsletterStudioSubscriptionProvider_3&nid=DBmy1lDv5ak=

    I'm using a convential smtp client and the work email is linked to an Microsoft Outlook Professional 2010 account. If this helps

    Paul 

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 17, 2013 @ 22:15
    Markus Johansson
    0

    HI again!

    What subscription provider are you using? The buildt in "mailing lists"? 

    Did you check the status of the email? are you sure that its not already unsubscribed? 

    If this dosen't help let me know and we'll try to add some more debugging to the code. email me at markus [at sign goes here] enkelmedia.se.

  • Brad Ford 34 posts 75 karma points
    Sep 18, 2013 @ 02:05
    Brad Ford
    0

    Hi,

    Mine seems to work in outlook but not in gmail. The query link on both is quite different. any ideas?

    I'm using Newsletter Studio 1.3.5. Does 1.3.7 resolve this issue?

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 18, 2013 @ 07:31
    Markus Johansson
    0

    Hi!

    This has been working for a long time and a guess that there has been some update to outlook which screws up the encoding of the email in the e-parameter.

    I have reproduced this but need to have a closer look to determain how to solve it - I'll keep you posted.

    / Markus

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 18, 2013 @ 08:10
    Markus Johansson
    0

    Hi!

    Can you please send me an email (markus [at sign goes here] enkelmedia.se) and I'll provide you with an updated dll that should solve this.

    / m

  • Paul Fowles 75 posts 184 karma points
    Sep 24, 2013 @ 13:26
    Paul Fowles
    0

    Hi Markus,

    Sorry the delay. In answer to your questions I've used the default mailing list and created another mailing list. The only subscriber to have an email status '3' is the subscriber linked to my personnal email account, which is the one that successfully unsubscribed.  I've emailed you  with these details as well from my personnal email account as well but thought I'd post here as well

    Regards

    Paul Fowles

     

     

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 24, 2013 @ 20:55
    Markus Johansson
    0

    Hi!

    As an update I can tell you that we have confirmed a bug around this and a fix is in the making. This fix will be applyed from version 1.3.7 so you will need to upgrade.

    I'll keep everyone posted - if you would like to try the patch before release drop me an email on markus [at sign goes here] enkelmedia.se.

    // m

Please Sign in or register to post replies

Write your reply to:

Draft