networkteam / neos-mailjet-formfinisher
Form Finisher using mailjet
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Type:neos-package
Requires
- neos/flow: ~6.0 || ~7.0
- neos/swiftmailer: ~7.0
Suggests
- neos/form-builder: When using nodeType Networkteam.Neos.Mailjet.FormFinisher:Finisher.Mailjet the neos/form-builder package is needed.
This package is auto-updated.
Last update: 2024-09-29 05:49:13 UTC
README
This package provides an additional form finisher for the Flow Form Framework to be used with mailjet.com to send template based mails via their SMTP API.
Configuration
There are two ways to configure the sending of the mails by the mailjet system. The first one is to use the general Neos/Flow way by configuring the NeosSwiftMailer
Neos: SwiftMailer: transport: type: 'Swift_SmtpTransport' options: host: 'in-v3.mailjet.com' port: 587 username: '<MailjetUser>' password: '<MailjetPassword>'
All Values can be found in the Mailjet dashboard -> transactional mails -> SMTP
The second option is to use the node configuration on the mailjet finisher itself. This is useful if different departments want to use mailjet with different accounts, e.q. Marketing and Human Resources.
Using the form values in the mailjet template
The configured fields in the form are populated as variables to the mailjet templating system. The variables are directly usable with {{var:<field_identifier>}}. To use this the identifier of the form field must be set. When setting an errorReportingRecipient this one will get failure notices for errors occured while rendering the template by mailjet.