did you click on the link from an e-mail that was sent to a subscriber or from a test email?
Thread Starter
smyt
(@smyt)
Directly from the email that came to my test mailbox. Interestingly enough, the {sp-unsubscribe-url} link within the same email works just fine. The page that loads has the proper email address.
Test emails show the example data because the test email isn’t sent to a user on the e-mail list.
When the e-mail goes out to all the users on the list, we generate a special token that allows the unsubscribe page to load that users data and their subscriptions so they can manage their account.
hopefully that helps π
Thread Starter
smyt
(@smyt)
My apologies for not understanding the question. The emails in question were not as a result of testing the plugin mailing function, but, from generating an actual mail comprised of a template, subscription list and users. This is a “test” only in the sense that I am testing the plugin functionality itself, not its ability to perform a basic mail function.
Thread Starter
smyt
(@smyt)
In case this helps, the unsubscribe link has
sendpress/eyJpZCI6IjIiLCJyZXBvcnQiOiIxNzEiLCJ2aWV3IjoidHJhY2tlciIsInVybCI6IntzcC11bnN1YnNjcmliZS11cmx9In0/
appended to the site URL and the manage subscriptions link has
sendpress/eyJpZCI6IjIiLCJyZXBvcnQiOiIxNzEiLCJ2aWV3IjoidHJhY2tlciIsInVybCI6Imh0dHA6XC9cL2hvbHlob3N0Lm5ldFwvbWFuYWdlLXN1YnNjcmlwdGlvbnNcLz9zcG1zPWV5SnBaQ0k2TUN3aWRtbGxkeUk2SW0xaGJtRm5aU0o5In0/
appended.
ok so in the e-mail the link works correctly, is the right?
Where are you clicking on the link when it results in the page showing the example information?
Thread Starter
smyt
(@smyt)
After generating a mailing from a list of subscribers and receiving the emails in my mailboxes, I click on the {sp-unsubscribe-url} link within the received message to test, then, I click on {sp-manage-subscription-url} within the same message.
{sp-unsubscribe-url} loads the page to my browser with a correct email address for the subscriber in question.
{sp-manage-subscription-url} loads a page to my browser with the example.com address.
If you need to have the contents for each link, I can pass them on, minus the actual site name. I would not want to expose my real email address to the public who may try to load those pages.
Can you create a list with the email addresses below and send us your newsletter? We can take a look at what we receive and hopefully be able to diagnose any issues.
jared@sendpress.com
josh@sendpress.com
Thread Starter
smyt
(@smyt)
Might have some help for you:
{sp-unsubscribe-url} yields this string –
{“id”:”2″,”report”:”171″,”view”:”tracker”,”url”:”{sp-unsubscribe-url}”}
and {sp-manage-subscription-url} yields this string –
{“id”:”2″,”report”:”171″,”view”:”tracker”,”url”:”http:\/\/holyhost.net\/manage-subscriptions\/?spms=eyJpZCI6MCwidmlldyI6Im1hbmFnZSJ9″}
Something very different between them.
Thread Starter
smyt
(@smyt)
The ?spms= string breaks out to –
{“id”:0,”view”:”manage”}
It would seem like the “id”:0 may be incorrect. Perhaps “id”:171 would be more appropriate?
the unsubscribe and manage subscription are very different. The first unsubscribes the user from the list that e-mail was sent to, and the manage subscription lets the user manages all their subscriptions.
we set id to 0 when there is no user identified. We do this so we can then load the page with example data so an admin can see what the form will look like for their users.
Thread Starter
smyt
(@smyt)
we set id to 0 when there is no user identified.
Hmmm. Why is no user identified for this link? In the email from which it is extracted, two lines up is is a link that seems to be fine. Same email.
Have I missed a setting somewhere that would allow the manage link to work correctly?
Are you just extracting the url from the email and going to the page in your browser?
If you just visit that page you will only ever get the example data. it needs a valid “spms” string on the url so we can load a users correct information.
Thread Starter
smyt
(@smyt)
I am clicking on the link in the email. That, in turn, results in a new tab opening in my browser.
I am going to set up a the two emails you offered privately and generate a mailing.
Thread Starter
smyt
(@smyt)
Added the two addresses and generated a Wednesday Meeting mailing. You should have it. My own address was on the mailing, also, and the manage link is broken in that message.