Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / I only see $EMAIL_MESSAGE_HTML when I send RCS email

I only see $EMAIL_MESSAGE_HTML when I send RCS email

Locked

Views: 848

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Jun 2007, 6:44 PM
#1
elegantfragrances avatar

elegantfragrances

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

I only see $EMAIL_MESSAGE_HTML when I send RCS email

I only see $EMAIL_MESSAGE_HTML when I send RCS email. I just installed the "Recover Cart Sales" from http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_41&products_id=100. Whenever I'm sending the e-mail within the Recover Cart Sales section to myself because I abandoned my cart, the e-mail that I receive has all of my site's Logo and the template, but the only t see in the body is $EMAIL_MESSAGE_HTML. Can you please let me know what I need to do, inorder for me to see the actual verbage of this template?

20 Jun 2007, 1:18 PM
#2
shaggymac avatar

shaggymac

New Zenner

Join Date:
Aug 2004
Location:
Lancaster, PA
Posts:
26
Plugin Contributions:
0

Re: I only see $EMAIL_MESSAGE_HTML when I send RCS email

Anyone have a fix for this? The question has come up again and again with no answer. Thanks in advance.

20 Jun 2007, 4:13 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: I only see $EMAIL_MESSAGE_HTML when I send RCS email

The contribution isn't supplying any HTML message content ... so, the placeholder is being displayed instead.

This line:```
zen_mail($custname, $inrec['email'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);


zen_mail($custname, $inrec['email'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, array('EMAIL_MESSAGE_HTML'=>$email));

or

$html_msg['EMAIL_MESSAGE_HTML'] = $email;
zen_mail($custname, $inrec['email'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $html_msg);

25 Jun 2007, 12:44 PM
#4
shaggymac avatar

shaggymac

New Zenner

Join Date:
Aug 2004
Location:
Lancaster, PA
Posts:
26
Plugin Contributions:
0

Re: I only see $EMAIL_MESSAGE_HTML when I send RCS email

Thanks DrByte, that seemed to do the trick.