amarbhanu Posted July 13, 2009 Share Posted July 13, 2009 forget password, define('EMAIL_PASSWORD_REMINDER_BODY', 'Dear Mr or Mrs ' . $check_customer['customers_firstname']. '.' . "\n\n" . 'Your new password to \'' . STORE_NAME . '\' is:' . "\n\n" . ' %s' . "\n\n" . 'Kind Regards,'."\n\n" . 'The Wireless Lighting Store'); when use this code result display by mail without "customers_firstname" so please help me what will be use................ amarbhanu We don't use Signatures for external links. Link to comment Share on other sites More sharing options...
♥ecartz Posted July 13, 2009 Share Posted July 13, 2009 Try define('EMAIL_PASSWORD_REMINDER_BODY', 'Dear Mr or Mrs %s.' . "\n\n" . 'Your new password to \'' . STORE_NAME . '\' is:' . "\n\n" . ' %s' . "\n\n" . 'Kind Regards,'."\n\n" . 'The Wireless Lighting Store'); and in password_forgotten.php, change tep_mail($check_customer['customers_firstname'] . ' ' . $check_customer['customers_lastname'], $email_address, EMAIL_PASSWORD_REMINDER_SUBJECT, sprintf(EMAIL_PASSWORD_REMINDER_BODY, $new_password), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); to tep_mail($check_customer['customers_firstname'] . ' ' . $check_customer['customers_lastname'], $email_address, EMAIL_PASSWORD_REMINDER_SUBJECT, sprintf(EMAIL_PASSWORD_REMINDER_BODY, $check_customer['customers_firstname'], $new_password), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); Always back up before making changes. Link to comment Share on other sites More sharing options...
amarbhanu Posted July 14, 2009 Author Share Posted July 14, 2009 Try define('EMAIL_PASSWORD_REMINDER_BODY', 'Dear Mr or Mrs %s.' . "\n\n" . 'Your new password to \'' . STORE_NAME . '\' is:' . "\n\n" . ' %s' . "\n\n" . 'Kind Regards,'."\n\n" . 'The Wireless Lighting Store'); and in password_forgotten.php, change tep_mail($check_customer['customers_firstname'] . ' ' . $check_customer['customers_lastname'], $email_address, EMAIL_PASSWORD_REMINDER_SUBJECT, sprintf(EMAIL_PASSWORD_REMINDER_BODY, $new_password), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); to tep_mail($check_customer['customers_firstname'] . ' ' . $check_customer['customers_lastname'], $email_address, EMAIL_PASSWORD_REMINDER_SUBJECT, sprintf(EMAIL_PASSWORD_REMINDER_BODY, $check_customer['customers_firstname'], $new_password), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); Thanks ecartz, Please give link for learn code customization and how easily create own module amarbhanu We don't use Signatures for external links. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.