[TYPO3-english] Send e-mail upon frontend user creation

2011-03-23 Thread Lukas Mattsson
Is it possible to have TYPO3 sending e-mail notifications with login 
details to frontend users upon creation? They are not gonna register 
themselves, a backend user will create them. Page TSConfig?


Best regards, Lukas
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Send e-mail upon frontend user creation

2011-03-23 Thread Steffen Gebert

Hi Lukas,


Is it possible to have TYPO3 sending e-mail notifications with login
details to frontend users upon creation? They are not gonna register
themselves, a backend user will create them. Page TSConfig?


That should be pretty easy to achieve with a custom extension and a hook 
[1].


Have a look at the TCEmain [2], there you can get all the data entered 
by the BE user (probably by using the 
processDatamap_preProcessFieldArray hook).

Later just create a SwiftMailer instance to send an email.

Kind regards
Steffen

--
[1] 
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.3.0/view/3/4/
[2] 
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.3.0/view/3/3/#id2507501

[3] http://wiki.typo3.org/TYPO3_4.5#Mail_API

Steffen Gebert
TYPO3 v4 Core Team Member

TYPO3  inspiring people to share!
Get involved: http://typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Send e-mail upon frontend user creation

2011-03-23 Thread Lukas Mattsson

Hi Steffen,

Thanks for your response, I'll try to make an extension.

Have a nice day!
Best regards, Lukas

On 2011-03-23 11:12, Steffen Gebert wrote:

Hi Lukas,


Is it possible to have TYPO3 sending e-mail notifications with login
details to frontend users upon creation? They are not gonna register
themselves, a backend user will create them. Page TSConfig?


That should be pretty easy to achieve with a custom extension and a hook
[1].

Have a look at the TCEmain [2], there you can get all the data entered
by the BE user (probably by using the
processDatamap_preProcessFieldArray hook).
Later just create a SwiftMailer instance to send an email.

Kind regards
Steffen


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english