[TYPO3-mvc] How to send an email after createAction?
Dimanche
eat.dimanche at yjj.com
Mon Nov 30 03:29:22 CET 2009
Sebastian Kurfürst wrote:
> Hey,
>
> why not just write your createAction like this:
>
> createAction(User $user) {
> $this->userRepository->add($user);
> $this->emailService->sendRegistrationEmail($user);
> }
>
> Greets,
> Sebastian
Hi Sebastian,
I have tested yours function, but it shown the error message
"Call to a member function sendRegistrationEmail() on a non-object".
I don't know which class I need to extend my new object, please writing
down by detail, how can I use the function "sendRegistrationEmail($user)"?
And one more could you explain an operation of sending email,
I mean email: FROM ???
email: TO ???
Thanks very much.
Regards,
Dimanche
More information about the TYPO3-project-typo3v4mvc
mailing list