Fix email unsubscribe #1539
Closes #1539 (closed)
Depends on minds!182 (merged)
Summary
Email unsubscribe link is currently not working.
Steps
- Fire an email off. Locally I used
php cli.php Email testWeMissYou --guid=':guid' --send true --output='email.html'
then checked the output html - unsure if you can check the remote filesystem in a browser so may have to copy the content off of the sandbox, into a local file, then check that.
Alternatively, fire off a random email.
- Check the footer visually.
- Click the
unsubscribe
link. - The link will take you to minds.com, so grab it out of your history or undo in your address bar if your browser supports it.
- Switch the domain to the sandbox domain rather than prod.
- It should show you are unsubscribed from the email.
- Add a random number in the GUID, it should show an error.
Regression scope
Feature is already broken so not likely much in the way of regressions on this change - the nginx changes in minds/minds are also pretty straightforward.
Edited by Ben