Mails — YAWIK 0.32 documentation


#1

Mails can be used everywhere, where have access to the application-serviceLocator.

When using a script the message-service in some way behaves like a viewmodel, it takes in arbitrary variables, which can be accessed in the script. Also you can set a template, which is resolved by view-maps or view-pathes. In the scripts you can use PHP, and since the script is included into the message-service, you can set or change in the script mail-specific attributes like header oder subject. Scripts are an alike to views.


Dies ist ein Begleitthema zum ursprünglichen Beitrag unter https://yawik.readthedocs.io/en/latest/modules/core/mails