Newsletter token not replaced in web view

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/18/2012 10:44:01 AM
Gravatar
Total Posts 63

Newsletter token not replaced in web view

After I send newsletter to subscribers, the #unsubcribe# and #vieaswebpage# tokens are replaced ok in the email, but when I click on View as Web Page link to view the newsletter in browser, those token are not replaced in the web page. Am I missing something?

Thanks,

Jeffrey

1/18/2012 10:58:28 AM
Gravatar
Total Posts 18439

Re: Newsletter token not replaced in web view

what do you think they should be replaced with in that scenario? I could replace them with empty string but the label would still be there for "Not interested anymore?".

To me its no big deal that the token is visible in the  web page version, it isn't obtrusive and its obvious that it is out of context when viewed as a web page since it really is a newsletter viewed in a web page, people can't unsubscribe from there so other than replacing it with an empty string there isn't much else that can be done in terms of replacement.

1/18/2012 11:09:36 AM
Gravatar
Total Posts 63

Re: Newsletter token not replaced in web view

I checked several newsletter/promotion emails from different companies, such as Sam's Club, Staples, etc, when you view the email in browser, everything is exactly the same as in the email, which means there is still a View as Web Page link and an Unsubscribe link in the web page. Though View as Web Page link in a web page is very silly, people are used to it and don't care, and also, IMHO it is less confusing than having #viewaswebpage#.

What do you think?

Thanks,

1/18/2012 11:20:08 AM
Gravatar
Total Posts 18439

Re: Newsletter token not replaced in web view

I think there are far more important things for me to work on and it isn't likely I will work on that soon based on my current priorities.

Making the unsubscribe work from there would only be possible for authenticated site members anyway and it would not be possible for people who only signed up for the newsletter and are not site members because we don't know who they are when they visit the page nor would it work for site members unless they are signed in and if they are signed in they already can unsubscribe easily from their profile or from the newsletter email. So, even if I went to this effort unauthenticated visitors would still see the token and usually the vast majority of visitors to a site are not authenticated.

I could replace them with empty string easy enough.

1/18/2012 11:30:34 AM
Gravatar
Total Posts 63

Re: Newsletter token not replaced in web view

Understand your priority, and I understand the issue is not a show stopper, so you don't have to rush. Here is one option I just thought of: replace #viewaswebpage# with empty string in browser, but replace #unsubscribe# with something like "Unsubscribe from your email".

1/18/2012 11:42:21 AM
Gravatar
Total Posts 18439

Re: Newsletter token not replaced in web view

That is an easy enough and reasonable suggestion, I'll do that and also I can do a simple check if the request is authenticated and if so instead of the replacing with the text message I can link to /eletter/default.aspx where an authenticated user can unsubscribe the same as they can on their profile.

Best,

Joe

1/18/2012 12:02:04 PM
Gravatar
Total Posts 63

Re: Newsletter token not replaced in web view

Thank you for the fast response.

Best regards,

Jeffrey

You must sign in to post in the forums. This thread is closed to new posts.