Enrolment

Is it possible to resend email confirmation messages in Moodle 1.8.4?

 
 
Picture of Bill Plumstead
Is it possible to resend email confirmation messages in Moodle 1.8.4?
 
I am using Moodle 1.8.4 and use "Email-based self-registration" and would like to be able to resend email confirmation messages. I've search the forums and didn't find any information on the subject. If there isn't a way to resend the email confirmation message, is it possible to reconstruct the confirmation link from data in the database? If so, what tables / columns contain the data needed.

Thanks,
Bill Plumstead
 
Average of ratings: -
Picture of Bill Plumstead
Re: Is it possible to resend email confirmation messages in Moodle 1.8.4?
 
Greetings,

I found that you can reconstruct the confirmation link from data in the database. To reconstruct the URL, the link can be built by using the values of USER.SECRET and USER.USERNAME. Here's how the link would be constructed:

$CFG->WWWROOT/login/confirm.php?data=[USER.SECRET]/[USER.USERNAME]

Where $CFG->WWWROOT is the root of your moodle installation and [USER.SECRET] and [USER.USERNAME] are values from the USER table.

Thanks,
Bill Plumstead



 
Average of ratings: -
Picture of Jon Boggiano
Re: Is it possible to resend email confirmation messages in Moodle 1.8.4?
 
Where does the [USER.SECRET] come from?
 
Average of ratings: -
Picture of Praveen Parihar
Re: Is it possible to resend email confirmation messages in Moodle 1.8.4?
 
i am new to moodle ...can anybody pls help me how do i implement this functionality in my moodle site..
 
Average of ratings: -
Picture of Praveen Parihar
Re: Is it possible to resend email confirmation messages in Moodle 1.8.4?
 
try this piece of code ....


Include this line of code in index.php which u will find in login folder


echo '<a id="btnresend" href="Resendemailmessage.php?'. send_confirmation_email($user). '">Resend Mail</a>';


 
Average of ratings: -