sandwick Posted March 18, 2013 Posted March 18, 2013 (edited) I have member approval running on OSC 2.3.3 and PHP 5.4, when and email is sent from create_account.php in the header of the subject line, listed in this code $name, does not show up in the subject line. it is blank, everything gets inserted into the data base. the email vars are empty. I use $name, $firstname, $lastname and they are blank also. Was working great in OSC 2.2 running PHP 5.2 ? what do I need to change to make this work ? $admin_email_text = $customer_opening . ADMIN_EMAIL_WELCOME . ADMIN_EMAIL_TEXT . EMAIL_WARNING; $admin_subject = sprintf(ADMIN_EMAIL_SUBJECT, $name); tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $admin_subject, sprintf($admin_email_text, $name), STORE_OWNER, EMAIL_FROM, ''); Here is my code where I am trying to pull the data and send in an email define('ADMIN_EMAIL_TEXT', ' ' . $firstname . '<b> ' . $lastname. ', </b>at ' . $company . ', has applied for access to <b>' . STORE_NAME . ' </b>eCommerce web site on ' . strftime(DATE_FORMAT_SHORT) . ' at ' . strftime(DATE_TIME_ONLY) . ' <br /> ' . $firstname . ' ' . $lastname . ' <br /> ' . $company . ' <br /> ' . $street_address . ' <br /> ' . $city .', ' . $state .' ' . $postcode . ' <br /> ' . $telephone . ' <br /> ' . $email_address . ' ' . "\n\n"); any help would be appreciated. thanks Sandwick Edited March 18, 2013 by sandwick Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.