I see there's already a class for a MemberSignup EMail. I'm just wondering how to enable it when a new MEmber is created.
Thanks
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I see there's already a class for a MemberSignup EMail. I'm just wondering how to enable it when a new MEmber is created.
Thanks
Looks like it's used in "function sendInfo" (in Member) and that function looks only to be used when sending a change password email. I remember talking about signup emails before and it would be best in onAfterWrite of the Member when new - and be careful to ensure you only send once as onAfterWrite gets called twice...