Yes, that's the example to follow.
Basically I'd do this:
Code:
zen_mail($this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], EMAIL_SUBJECT_CC_MSG, EMAIL_TEXT_CC_MSG, STORE_OWNER, EMAIL_FROM, array('EMAIL_MESSAGE_HTML' => nl2br(EMAIL_TEXT_CC_MSG)),'ccnotice');
and then in a new language file (ie: /includes/languages/english/extra_definitions/my_cc_msg_text.php ) define the text you want in the emails:
Code:
<?php
define('EMAIL_SUBJECT_CC_MSG', 'An important note about your recent purchase.');
define('EMAIL_TEXT_CC_MSG', 'Thank you for your recent purchase at ' . STORE_NAME . '.' . "\n\n" . 'We are sending you this message to advise you that your purchase will show up on your credit card statement as "ABCDEFG COMPANY" (our sister company) instead of "' . STORE_NAME . '". Please make note of this when reviewing your credit card bill. Thank you for your understanding, and we apologize for any confusion this may cause.' . "\n\n" . 'We look forward to you visiting our online store again.');
Or use the attached files to make it simpler:
Bookmarks