Forums

How to send user activation email ?

AlanN 08 Jan, 2021
Beginner Question not sure yet how much time to invest in fuguring out this component... I am struggling a bit with the lack of documentation.
I have managed to create a simple create Joomla user entry with V7, have it creating user in user table
However it doesn't send out any activation email, not sure if it is meant to or not. Site is setup to expect that with account activation mode set to Self

So before I try and reinvent the wheel and fake the normal activation process, is there something built in to do this that I havn't found
Or is it so simple I shouldn't need to ask, and you just point me at some feature I havn't found

Thanks AlanN
AlanN 10 Jan, 2021
I also note in Ver 7.0.7 the newly created user 'activation' field is empty, do I need to populate that myself ?
The code in joomla_user_output.php looks like it should have populated it
and more confusing the code in joomla_user_activation_output.php looks like it is there to accept a confirmation link. I don't see a gorm action to make use of this anywhere

So I tried to save {str:uuid} in user table and expected to send it in a registration email (faking standard Jommla registration) but I found rusing {str:uuid} in the email sent a different id string, not what I expected.

Clearly missing something obvious in how this should be used, and I bet its been done many times before
Max_admin 13 Jan, 2021
Answer
The current save user action will just save the user, the activation setting is not working, that should be fixed in the next update, or you may send me a message using the contact page to get a patch file.

even with the new version, you have to add your own email action to send to the user or admin based on the save user result!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.