Hi,
I need to insert a "Regards" after the automated email that creloaded6 send when i get a new customer set up an account.
I have created a new EMAIL_REGARDS "define" entry under the create_account.php in the languages area. I have then added the EMAIL_REGARDS into the area in the httpdocs\create_account.php area after the EMAIL_CONTACT area section.
My problem is that the output on the email has the contact email address, merged with "regards" and then a new line and my company name, see attached PNG.
Have I done something wrong on the 7th or so line down on the code? Do i need to maybe add a /n/n or something?
I have put the only two sections in here where the EMAIL parts are.
Can anyone help! Please..
Code:
if (EMAIL_USE_HTML == 'true') {
$formated_store_owner_email = '<a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">' . STORE_OWNER . ': ' . STORE_OWNER_EMAIL_ADDRESS . '</a>';
} else {
$formated_store_owner_email = STORE_OWNER . ': ' . STORE_OWNER_EMAIL_ADDRESS;
}
$email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . $formated_store_owner_email . EMAIL_REGARDS ;
if ( ACCOUNT_EMAIL_CONFIRMATION == 'true' ) {
$email_text .= "\n" . MAIL_VALIDATION . "\n" . '<a href="' . tep_href_link('pw.php', 'action=reg&pass=' . $Pass . $Pass_neu . '&verifyid=' . $customer_id, 'SSL', false) . '">' . VALIDATE_YOUR_MAILADRESS . '</a>' . "\n" . "\n" . '(' . SECOND_LINK . ' ' . tep_href_link('pw.php', 'action=reg&pass=' . $Pass . $Pass_neu . '&verifyid=' . $customer_id, 'SSL', false) . ' )' . "\n" . "\n". OR_VALIDATION_CODE . $Pass . $Pass_neu . "\n" . "\n";
}
next bit of code
Code:
}
// $email_text .= EMAIL_TEXT . EMAIL_CONTACT . EMAIL_REGARDS;
// ICW - CREDIT CLASS CODE BLOCK ADDED ******************************************************* END