Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Canned email glitch


Jair

Recommended Posts

HI,

I get this in one of my canned emails...

 

Gordy has created a Wishlist at BooBearsBodyElegance.com and would like to share it with you.

 

TEXT_HERES_A_MESSAGEGordy:

This is a really nice tongue ring.

 

How do I correct that TEXT_HERES_A_MESSAGE part to have it removed.

 

Here is the php code I used for that area but maybe it is another part I need to look at.

      if (tep_not_null($HTTP_POST_VARS['yourmessage'])) {
       $email_body .= TEXT_HERES_A_MESSAGE . $from_name.":\n";
 $email_body .= $HTTP_POST_VARS['yourmessage'] . "\n\n";
     }

 

Thanks,

 

Jair

Link to comment
Share on other sites

TEXT_HERES_A_MESSAGE needs to be defined in a language file - /includes/languages/english.php will work:

 

define('TEXT_HERES_A_MESSAGE ', ' You have received a message from ';

 

Matti

Link to comment
Share on other sites

TEXT_HERES_A_MESSAGE? needs to be defined in a language file - /includes/languages/english.php will work:

 

define('TEXT_HERES_A_MESSAGE ', ' You have received a message from ';

 

Thank you Matti I know that was a pretty basic beginner type question, but I really do appreciate you taking the time to help a newbie like myself.

 

Jair

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...