spikesforu Posted April 18, 2004 Posted April 18, 2004 I got a trick question here. In the catalog/language/english/create_account.php there a part of email text in red that I want to change <?php /* $Id: create_account.php,v 1.11 2003/07/05 13:58:31 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Create an Account'); define('HEADING_TITLE', 'My Account Information'); define('TEXT_ORIGIN_LOGIN', '<font color="#FF0000"><small><b>NOTE:</b></font></small> If you already have an account with us, please login at the <a href="%s"><u>login page</u></a>.'); define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME); define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n"); define('EMAIL_GREET_MS', 'Dear Ms. %s,' . "\n\n"); define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n"); define('EMAIL_WELCOME', 'We welcome you to <b>' . STORE_NAME . '</b>.' . "\n\n"); define('EMAIL_TEXT', 'You can now take part in the <b>various services</b> we have to offer you. Some of these services include:' . "\n\n" . '<li><b>Permanent Cart</b> - Any products added to your online cart remain there until you remove them, or check them out.' . "\n" . '<li><b>Address Book</b> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.' . "\n" . '<li><b>Order History</b> - View your history of purchases that you have made with us.' . "\n" . '<li><b>Products Reviews</b> - Share your opinions on products with our other customers.' . "\n\n"); define('EMAIL_CONTACT', 'For help with any of our online services, please email the store-owner: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n"); define('EMAIL_WARNING', '<b>Note:</b> This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n"); ?> When I change the text to what I want it to say the it will not send the email to the new account. If I change it back to the original it will work then....
Guest Posted April 18, 2004 Posted April 18, 2004 This is a long shot, but something similar has happened to me in the past. Depending on which program or method you use to edit your files. Some editors create new lines (as your pasted code shows). I found that PHP didn't always like adding text strings to e-mails which span more that one line. Try editing the line you want to edit, and putting it all on one line. Hope it works, I know it is a long shot.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.