Hello Carlos
I am sorry, maybe my previous explaiation was not super-clear.
The plugin gives the possibility to send an automatic email to someone as soon as the certificate is acquired by the student. The mechanism works well but the body message of the email contains the full name of the student. As per my understanding, but I am not an expert, the text information is in the file named simplecertificate.php located in the lang (en) folder.
I would like to know how to replace the full name of the student with the email address. Here is the current string that seems to refer to the email body text
$string['emailteachermail'] = '
{$a->student} has received their certificate: \'{$a->certificate}\'
for {$a->course}.
You can review it here:
{$a->url}';
$string['emailteachermailhtml'] = '
{$a->student} has received the certificate: \'<i>{$a->certificate}</i>\'
for {$a->course}.
You can review it here:
<a href="{$a->url}">Certificate Report</a>.';