[Seaside] Registration e-mail verification

Lukas Renggli renggli at gmail.com
Sat Mar 22 07:00:23 UTC 2008


>  Sending the e-mail isn't a problem.  How can I generate the URL in
>  advance to put into the e-mail that the user can click on to complete
>  the registration process?

Extracted from code used in industry:

	| account |
	account := self collectAccountInformation.
	Continuation currentDo: [ :cc |
		self sendOutMailWithUrl: (self session actionUrlForContinuation: cc)
		^ self displayInstructionToCheckMail: account ].
        self displayConfirmation: account activate

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list