[SOLVED] SM New User Activation Code not included in mail

Good day,

I’ve deployed the SM on SC9 and selected the option that new users can be created and activation is required by a link in an email.

The email is sent to the user, however without any content thus a blank email without an activation link.

Please kindly assist to resolve the matter since users can’t be activated.

Regards,
Heinz

It does work in your test environment?

Hello Heinz,

did you sollve the problem?
Since you post the info/question, no one send or try to help!

I have the same problem and frankly speeking it wasn’t fixed until now by SC!

kind regards,
Matthias

Hello,

This problem has been reported to our development team. The problem occurs due the {lang_send_actcode_newuser} is waiting for 2 parameters and is only receiving 1.

Solution
Access the application form_add_users, go in the php method send_mail_to_new_user and change the line below:

Current
$mail_message = sprintf({lang_send_actcode_newuser}, $message);

New
$user = {name};
$mail_message = sprintf({lang_send_actcode_newuser}, $user, $message);

The reported case was corrected in release 9.0.034. Version available for download and update.

Hi,

Thank you for your response.

Regards,