lee the bean Posted July 26, 2012 Share Posted July 26, 2012 The lastest release sends a link to the users email address when they reset their password. However the link is not clickable long and may be abandoned by someone who doesnt know how to cut and paste te link to their browser. The command is: tep_mail($check_customer['customers_firstname'] . ' ' . $check_customer['customers_lastname'], $email_address, EMAIL_PASSWORD_RESET_SUBJECT, sprintf(EMAIL_PASSWORD_RESET_BODY, $reset_key_url), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); The offending code is the sprinf(EMAIL_PASSWORD_RESET_BODY, $reset_key_url) section. Anyone know what to change the sprintf to to allow the link to be recognised as a HTML link. (All HTML mods done and site sends out HTML emails) Many ta's Link to comment Share on other sites More sharing options...
lee the bean Posted July 26, 2012 Author Share Posted July 26, 2012 Der :- add the following line just above the tep_mail command line $reset_key_url = '<a href="' . $reset_key_url . '">' . $reset_key_url . '</a>'; in the new password_forgotten.php der Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.