Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help with Signup_Confirm_Email module


Paulz

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...