[Flow] StandaloneView for emails and templatePathAndFileName
Mark Kuiphuis
typo3 at markyourweb.com
Fri Aug 9 10:34:49 CEST 2013
On 9/08/13 6:11 PM, Bastian Waidelich wrote:
> Mark Kuiphuis wrote:
>
> Hi Mark,
>
>> is there a better approach where I don't have
>> to hardcode the dir/to/file after the FLOW_PATH_ROOT constant?
>
> As Steffen wrote, you can use the resource prefix.
> If you want to use that as a "standalone service" that has no controller
> context, you can also just set the Package-Key manually:
> https://gist.github.com/bwaidelich/5967024
>
> With this (and with the manual initialization of the router) you can
> even use this from the CLI.
>
> HTH
Thanks both for your replies. As I do expect some more emails (as in
different purposes) to be sent from this application, I believe this the
EmailService example will solve this for me.
Thanks again,
Regards, Mark Kuiphuis
More information about the Flow
mailing list