Customer Password Reset Email
Version 1.3.7
Im not sure how long this has been happening but a customer recently tried to reset thier password and recieved the following in the email - I confirmed with a test account. I am running with custom templates - not sure where to start looking to troubleshoot. No recent changes to configuration.
Thanks!
Joe
Quote:
Dear <Customer Name>,
RageMoto Performance
$EMAIL_TEXT_ORDER_NUMBER
$EMAIL_TEXT_INVOICE_URL
$EMAIL_TEXT_DATE_ORDERED
$EMAIL_TEXT_STATUS_COMMENTS
$EMAIL_TEXT_STATUS_UPDATED
$EMAIL_TEXT_STATUS_LABEL
$EMAIL_TEXT_STATUS_PLEASE_REPLY
Copyright (c) 2008 Zen Cart. Powered by Zen Cart
This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to sales AT ragemoto DOT com
This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.
Re: Customer Password Reset Email
Your forgot password form is sending the wrong email - but you knew that ;)
I would start by going to your forgot password form page on your site and looking at the source code. Check to see if the form action is correct.
should be like:
action="https://your-domain.com/store-dir/index.php?main_page=password_forgotten&action=process"
[Above is from a 1.3.8a installation]
The password forgotten template file is:
store/includes/templates/templates_default/templates/tpl_password_forgotten_default.php
Check the custom templates in your custom templates folder also to see if you placed your own custom forgot password template file in there. It might be you have the action messed up. Since your forgot password form does not pass any of the above data (i.e. <Customer Name> etc.) the variables names appear.
Re: Customer Password Reset Email
Everything looks in order and I copied the template back over from the orginal distribution. Upon further investigation I discovered that it is in fact sending the new password email in text but its being overlayed in the email by the offending html message - I can see it when I view the email message source, see below. I still cant find where/why this is taking place.
Subject: RageMoto Performance - New Password
Date: Tue, 3 Jun 2008 09:04:07 -0400
From: RageMoto Performance <[email protected]>
Reply-to: RageMoto Performance <[email protected]>
Message-ID: <[email protected]>
X-Priority: 3
X-Mailer: PHPMailer [version 1.73] via Zen Cart
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_ddd9e39517797f00fc639a12d9584c42"
Content-Length: 2848
--b1_ddd9e39517797f00fc639a12d9584c42
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
A new password was requested from x.x.x.x.
Your new password to 'RageMoto Performance' is:
XXXXX
After you have logged in using the new password, you may change it by going
to the 'My Account' area.
--b1_ddd9e39517797f00fc639a12d9584c42
Content-Type: text/html; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<base href="http://www.ragemoto.com/" />
<style type="text/css">
body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;}
a:link {color:#0066cc;}
a:hover {background-color:#eeeecc; color:#0066cc;}
a:visited {color:#0066cc;}
.holder {background-color:#f9f9f9; border:1px solid #9a9a9a; font-size:9px; text-align:left; width:550px;}
.header {font-size:10px; padding:0px; width:550px;}
.content {font-size:10px; padding:5px; width:550px;}
.footer {border-top:1px solid #9a9a9a; font-size:9px; margin-top:10px; text-align:center; width:550px;}
.disclaimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px; margin-top:10px; padding:5px; width:550px;}
.disclaimer1 {color:#666666; padding:5px;}
.disclaimer1 a:link {color:#666666;}
.disclaimer1 a:visited {color:#666666;}
.disclaimer2 {color:#666666; padding:5px;}
.copyright {border-bottom:0px solid #9a9a9a; padding:5px;}
</style>
</head>
<body>
<div class="holder">
<!-- Header Section -->
<div class="header">
<img src="email/header.jpg" alt="logo" />
</div>
<!-- Content Section -->
<div class="content">
<div>Dear Joe Buccini,</div>
<div>RageMoto Performance</div>
<div>$EMAIL_TEXT_ORDER_NUMBER</div>
<div>$EMAIL_TEXT_INVOICE_URL</div>
<div>$EMAIL_TEXT_DATE_ORDERED</div>
<div>$EMAIL_TEXT_STATUS_COMMENTS</div>
<div>$EMAIL_TEXT_STATUS_UPDATED</div>
<div>$EMAIL_TEXT_STATUS_LABEL</div>
<div>$EMAIL_TEXT_STATUS_PLEASE_REPLY</div>
</div>
<!-- Footer Section -->
<div class="footer">
<div class="copyright">Copyright (c) 2008 <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a></div>
</div>
</div><div class="disclaimer"> <div class="disclaimer1">This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to <a href="mailto:[email protected]">[email protected] </a> </div> <div class="disclaimer2">This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.</div></div></body></html>--b1_ddd9e39517797f00fc639a12d9584c42--.Thanks again!Joe
Re: Customer Password Reset Email
I would recommend you download zen cart again and reload the files from a fresh download. I have never seen this problem before (or heard of it). It could only be caused by files that have somehow been mashed up, I would think. What happens when you set your email to be plain text only, does it fix it? I use plain text for forgotten password replies.
Re: Customer Password Reset Email
It works fine text mode. Ill leave it at that for now until I have time to dig deeper.
Thanks for the responses.
Joe
Re: Customer Password Reset Email
Quote:
Originally Posted by
Picci
What happens when you set your email to be plain text only, does it fix it? I use plain text for forgotten password replies.
I'm having a problem where my password reset emails arrive blank. Ho do you change the format from html to plain text for the password reset?
Thanks
Steven