osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Newsletter & Subscribers

This is a discussion on Newsletter & Subscribers within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; The unsubscribe link wasn't working for me when clicked in the mail received by visitors. It added an "...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 05-10-2008, 07:11 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,187
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Newsletter & Subscribers

The unsubscribe link wasn't working for me when clicked in the mail received by visitors. It added an "UNSUBSCRIBE" word juft before the mail causing problems (the visitor email didn't disappeared fom my DB)

I figured out the mail was sent in
newsletter_subscribe.php.

Then I replaced in line 54 :

$message .= EMAIL_WELCOME . CLOSING_BLOCK1 . CLOSING_BLOCK2 . CLOSING_BLOCK3 . UNSUBSCRIBE . $HTTP_POST_VARS['Email'] ;

WITH

$message .= EMAIL_WELCOME . CLOSING_BLOCK1 . CLOSING_BLOCK2 . CLOSING_BLOCK3 . $HTTP_POST_VARS['Email'] ;
mail(strtolower($HTTP_POST_VARS['Email']), EMAIL_WELCOME_SUBJECT, $message, "From: " . EMAIL_FROM);

==> Just took off the "UNSUBSCRIBE ."
>>>IT WORKS now.

BE CAREFUL : I'm a complete newbie. I solved this only using logic and thought about sharing it.
That said, don't use it if you don't have this problem!

PS : Nothing more in attached file.

More...
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Newsletter & Subscribers michael_s New osCommerce Contributions 0 02-01-2008 06:22 AM
Best Newsletter? bkpie osCMax v2 Customization/Mods 5 07-03-2007 05:36 AM
Newsletter and Subscribers Addon sirsonic osCMax v2 Customization/Mods 3 10-04-2006 05:29 PM
How to stop '&' becoming '&' in order email co nemail osCMax v1.7 Discussion 0 11-15-2005 04:28 PM
Welcome Newsletter bobbiejames osCommerce 2.2 Modification Help 0 06-14-2004 07:41 AM


All times are GMT -8. The time now is 03:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax