I have looked at all the instructions and still find myself unable to figure out how to stop the confirm register from sending out the same email that the request membership sends out. i have followed the tutorials to the letter.
Yes i am using Register and ConfirmRegister snippets that are part of the Login package
This is the second install i have tried to do following the tutorials outlined and i don't know if i am missing the forest for the trees or doing something really stupid. The exact same problem persists.
Everything works fine except that upon confirmaton of registration another email goes out that is unwanted and i am failing to see what controls the sending of that email. I have poured through the snippets which were downloaded from the login package:
Register (17)
require_once $modx->getOption('login.core_path',null,$modx->getOption('core_path').'components/login/').'model/login/login.class.php';
$login = new Login($modx,$scriptProperties);
$controller = $login->loadController('Register');
$output = $controller->run($scriptProperties);
return $output;
ConfirmRegister (18 )
require_once $modx->getOption('login.core_path',null,$modx->getOption('core_path').'components/login/').'model/login/login.class.php';
$login = new Login($modx,$scriptProperties);
$controller = $login->loadController('ConfirmRegister');
$output = $controller->run($scriptProperties);
return $output;
The activation email goes out just fine, the url and links all work perfectly. The member is then registered and everything appears to be all good.
My Membership Confirmation Handler (11) Resource
<p>[[ConfirmRegister? &redirectTo=`12`]]</p>
Where 12 is my Page that says membership is completed.
Everything is fine and working, except for this unnecessary email which arrives after the activation link has been used and seems to be a duplicate of what is sent to activate the account. I just cant find out how to stop it sending, or what controls it being sent or its contents.
Sorry if i am being extremely dumb here (that is how i am feeling) but after a day of fighting this i am still failing to see how to eliminate this extra unwanted email.
The subject title of this email is: Registration Approved
the content is
Dear jac1,
Thanks for registering! To activate your new account, please click on the following link:
[[+confirmUrl]]
After activating, you may login with your password and username:
Username: jac1
Password: [[+password]]
If you did not request this message, please ignore it.
Thanks,
Site Admin
I can see in my resource for my registration page the snippet that controls the activation email
[[!Register?
&submitVar=`registerbtn`
&activationResourceId=`11`
&activationEmailTpl=`ActivationEmailTpl`
&activationEmailSubject=`Thanks for Registering at site.com!`
&submittedResourceId=`10`
&usergroups=`Members`
]]
Which all works fine (all resources are correctly pointed to)
But there doesnt appear to be any controls like that in the confirmregister snippet
It appears that the username field comes thru correctly, but the password and confirm url dont (althoguh they do in the original activation email)
thanks for any help and all help so far.