Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Member Signup Email


Reply


2 Posts   1526 Views

Avatar
zenmonkey

Community Member, 532 Posts

30 January 2011 at 5:11am

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

Avatar
swaiba

Forum Moderator, 1805 Posts

30 January 2011 at 5:22am

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...