Jayman11 Posted November 7, 2008 Share Posted November 7, 2008 For some reason I have noticed that customers are having problems removing themselves from the newsletter via the emailed link at the bottom of the newsletter. It seems to be losing the @ symbol when it unsubscribes them so it really doesnt take them off. I have the simple visitor newsletter contrib installed and am wondering if anyone knows what code to look for to fix this? Quote Link to comment Share on other sites More sharing options...
avus3 Posted April 16, 2009 Share Posted April 16, 2009 im having the same problem. :( Quote Link to comment Share on other sites More sharing options...
Jonojamesmac Posted April 16, 2009 Share Posted April 16, 2009 (edited) In unsubscribe.php and unsubscribe_done.php line 17-21 replace: if (isset($HTTP_GET_VARS['email'])) { $email_to_unsubscribe = ereg_replace('[^0-9A-Za-z@._-]', '', $HTTP_GET_VARS['email']); } else { $email_to_unsubscribe = ''; } with: if (isset($HTTP_GET_VARS['email'])) { $email_to_unsubscribe = $HTTP_GET_VARS['email']; } else { $email_to_unsubscribe = ''; } Edited April 16, 2009 by Jonojamesmac Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.