[TYPO3-mvc] How to send an email after createAction?

Sebastian Kurfürst sebastian at typo3.org
Sun Nov 29 10:02:07 CET 2009


Hey,

why not just write your createAction like this:

createAction(User $user) {
	$this->userRepository->add($user);
	$this->emailService->sendRegistrationEmail($user);
}

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list