Paulz Posted January 7, 2004 Share Posted January 7, 2004 Im having trouble with the Signup_Confirm_Email module 2.2MS1 version. the email gets sent but with the password missing & the subject line of the email is empty? I think the problem is with this piece of code in create_account_process.php $email_text .= EMAIL_WELCOME . EMAIL_USERNAME . 'Your password is: <b>' . stripslashes($plain_pass) . '</b>' . "\n\n" . EMAIL_TEXT . EMAIL_CONTACT tep_mail($name, $email_address, $email_text, $email_subject, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); the users email appears as this: We welcome you to Pauls test shop. EMAIL_USERNAMEEMAIL_PASSWORD You can now take part in the various services we have to offer you. Some of these services include: etc etc. Is there anything obviously wrong in the above code or am I looking in the wrong place. Any help greatly appreciated. Link to comment Share on other sites More sharing options...
jrwrestling Posted January 7, 2004 Share Posted January 7, 2004 $email_text .= EMAIL_WELCOME . EMAIL_USERNAME . may require a . infront of the word EMAIL, not sure though. Link to comment Share on other sites More sharing options...
Paulz Posted January 7, 2004 Author Share Posted January 7, 2004 Ive resolved this by changing : define('EMAIL_PASSWORD', 'Youre password is:' . stripslashes($HTTP_POST_VARS['password']) . "\n\n"); in includes/languages/english/create_account_process.php If anyone is going to use this for osc2.2MS1, follow the Signup_Confirm_Email module 2.2MS2 version, it worked better. I also found some useful info here: http://www.oscommerce.com/forums/index.php?showtopic=35218&st=10 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.